From 08952c86d0ee669a94d625edb3c46768382aba25 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 9 Aug 2020 10:47:41 +0200 Subject: [PATCH] Support for passing parameters to list to construct item in list. --- src/Collections/List.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Collections/List.hpp b/src/Collections/List.hpp index 867f063..2c2262f 100644 --- a/src/Collections/List.hpp +++ b/src/Collections/List.hpp @@ -72,6 +72,7 @@ namespace ArbUt { } inline void Append(const ValueT& value) { _vector.push_back(value); } + template inline void CreateBack(parameters... pars) { _vector.emplace_back(pars...); } inline void Insert(size_t index, const ValueT& value) { _vector.insert(index, value); }