From 0f07837558fa80198ee53a5ff67f71082df4ec5e Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 22 Mar 2020 17:50:17 +0100 Subject: [PATCH] Implements List constructor for raw C arrays. --- src/Collections/List.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Collections/List.hpp b/src/Collections/List.hpp index 9b7f56e..85341a8 100644 --- a/src/Collections/List.hpp +++ b/src/Collections/List.hpp @@ -15,6 +15,7 @@ namespace Arbutils::Collections { List() : _vector() {} explicit List(size_t capacity) : _vector(capacity) {} List(const std::initializer_list& l) : _vector(l) {} + List(const ValueT* begin, const ValueT* end) : _vector(begin, end) {} inline void Clear() { _vector.clear(); }