sources/list.h

changeset 11
cffa2777d917
parent 5
146825d63b9a
child 51
481073b016a9
--- a/sources/list.h	Fri Dec 12 00:55:51 2014 +0200
+++ b/sources/list.h	Fri Dec 12 01:37:04 2014 +0200
@@ -110,9 +110,11 @@
 public:
 	using Super = Container<T, std::vector<T>>;
 
-	template<typename... Args>
-	Vector (Args ...args) :
-		Super (args...) {}
+	Vector() {}
+	Vector (int numvalues) : Super (numvalues) {}
+	Vector (const Vector<T>& a) : Super (a) {}
+	Vector (std::initializer_list<T>&& a) : Super (a) {}
+	Vector (T* data, size_t length) : Super (std::vector<T> (data, data + length)) {}
 
 	auto data() -> T*
 	{

mercurial