Implements List constructor for raw C arrays.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-03-22 17:50:17 +01:00
parent b47757d343
commit 0f07837558
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ namespace Arbutils::Collections {
List() : _vector() {}
explicit List(size_t capacity) : _vector(capacity) {}
List(const std::initializer_list<ValueT>& l) : _vector(l) {}
List(const ValueT* begin, const ValueT* end) : _vector(begin, end) {}
inline void Clear() { _vector.clear(); }