Implements Resize function for List.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0f07837558
commit
c1167e704a
|
@ -50,6 +50,8 @@ namespace Arbutils::Collections {
|
||||||
inline const ValueT& operator[](size_t index) const { return At(index); }
|
inline const ValueT& operator[](size_t index) const { return At(index); }
|
||||||
|
|
||||||
inline size_t Count() const { return _vector.size(); }
|
inline size_t Count() const { return _vector.size(); }
|
||||||
|
inline void Resize(size_t size) { _vector.resize(size); }
|
||||||
|
inline void Resize(size_t size, ValueT defaultValue) { _vector.resize(size, defaultValue); }
|
||||||
|
|
||||||
iterator begin() { return _vector.begin(); }
|
iterator begin() { return _vector.begin(); }
|
||||||
iterator begin() const { return _vector.begin(); }
|
iterator begin() const { return _vector.begin(); }
|
||||||
|
|
Loading…
Reference in New Issue