Allow initialization of UniquePtrList from vector of pointers.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
bfe1fcc805
commit
262156fbd2
|
@ -15,6 +15,7 @@ namespace ArbUt {
|
|||
|
||||
public:
|
||||
inline UniquePtrList() : _vector() {}
|
||||
inline UniquePtrList(std::vector<ValueT*> vec) : _vector(vec) {}
|
||||
explicit inline UniquePtrList(size_t capacity) : _vector() { _vector.reserve(capacity); }
|
||||
inline UniquePtrList(const std::initializer_list<ValueT*>& l) : _vector(l) {}
|
||||
inline UniquePtrList(ValueT* const* begin, ValueT* const* end) : _vector(begin, end) {}
|
||||
|
|
Loading…
Reference in New Issue