Implements List constructor for raw C arrays.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b47757d343
commit
0f07837558
|
@ -15,6 +15,7 @@ namespace Arbutils::Collections {
|
||||||
List() : _vector() {}
|
List() : _vector() {}
|
||||||
explicit List(size_t capacity) : _vector(capacity) {}
|
explicit List(size_t capacity) : _vector(capacity) {}
|
||||||
List(const std::initializer_list<ValueT>& l) : _vector(l) {}
|
List(const std::initializer_list<ValueT>& l) : _vector(l) {}
|
||||||
|
List(const ValueT* begin, const ValueT* end) : _vector(begin, end) {}
|
||||||
|
|
||||||
inline void Clear() { _vector.clear(); }
|
inline void Clear() { _vector.clear(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue