diff -r 3c02a728a681 -r 53c2aecb9704 sources/list.h --- a/sources/list.h Wed May 27 21:44:42 2015 +0300 +++ b/sources/list.h Thu Jul 23 00:16:47 2015 +0300 @@ -32,9 +32,9 @@ #include "basics.h" #include #include -#include #include #include +#include #include "range.h" // ------------------------------------------------------------------------------------------------- @@ -57,9 +57,6 @@ Container (const C& other) : m_container (other) {} - Container (std::initializer_list&& a) : - m_container (a) {} - T& append (const T& value) { m_container.push_back (value); @@ -329,17 +326,28 @@ // template -using List = Container>; +class List : public Container > +{ +public: + typedef Container > Super; + + List(){} + + List (int numvalues) : + Super (numvalues) {} + + List (const Super& other) : + Super (other) {} +}; // ------------------------------------------------------------------------------------------------- // template -class Vector : public Container> +class Vector : public Container > { public: - using Super = Container>; - using typename Super::Container; + typedef Container > Super; Vector(){}