Support for reserving space in List.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
fbf2e42b8f
commit
409b52bbf7
|
@ -79,6 +79,7 @@ namespace Arbutils::Collections {
|
|||
inline const const_reference& operator[](size_t index) const { return At(index); }
|
||||
|
||||
inline size_t Count() const { return _vector.size(); }
|
||||
inline void Reserve(size_t size) { _vector.reserve(size); }
|
||||
inline void Resize(size_t size) { _vector.resize(size); }
|
||||
inline void Resize(size_t size, const ValueT& defaultValue) { _vector.resize(size, defaultValue); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue