diff -r 7fc34735178e -r 2e7225dbd9b2 sources/list.h --- a/sources/list.h Wed Jan 27 13:02:51 2021 +0200 +++ b/sources/list.h Wed Jan 27 13:08:51 2021 +0200 @@ -346,24 +346,6 @@ // template -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 > { public: @@ -399,24 +381,8 @@ } }; -class ByteArray : public Vector -{ -public: - ByteArray(std::initializer_list initializerList); - - template - ByteArray(Args&& ...args); - - class String quote() const; -}; - -/*! - * \brief Constructs a byte array by passing all arguments to Vector's constructor. - * \param args Arguments to pass. - */ -template -ByteArray::ByteArray(Args&& ...args) : - Vector(args...) {} +using ByteArray = std::vector; +class String quote(const ByteArray& bytes); template T splice(const T& container, int start, int end, int step = 1)