Add functionality for Collections to get underlying items.
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2020-03-29 18:49:10 +02:00
1 parent 74ac2dbbc3
commit 72b545f5e3
2 files changed
+6

No files matched your search

+3
View File
@@ -78,6 +78,9 @@ namespace Arbutils::Collections {
iterator end() { return _map.end(); } iterator end() { return _map.end(); }
const_iterator end() const { return _map.end(); } const_iterator end() const { return _map.end(); }
const std::unordered_map<KeyT, ValueT>& GetStdMap() const { return _map; }
std::unordered_map<KeyT, ValueT>& GetStdMap() { return _map; }
}; };
} }
+3
View File
@@ -78,6 +78,9 @@ namespace Arbutils::Collections {
const_iterator end() const { return _vector.end(); } const_iterator end() const { return _vector.end(); }
const ValueT* RawData() const { return _vector.data(); } const ValueT* RawData() const { return _vector.data(); }
const std::vector<ValueT>& GetStdList() const { return _vector; }
std::vector<ValueT>& GetStdList() { return _vector; }
}; };
} }