sources/list.h

changeset 71
4f7c2c944637
parent 69
eb4c25284a19
child 73
07dda51a7a8e
equal deleted inserted replaced
70:0e947b487b18 71:4f7c2c944637
337 template<typename T> 337 template<typename T>
338 class Vector : public Container<T, std::vector<T>> 338 class Vector : public Container<T, std::vector<T>>
339 { 339 {
340 public: 340 public:
341 using Super = Container<T, std::vector<T>>; 341 using Super = Container<T, std::vector<T>>;
342 using Super::Container; 342 using typename Super::Container;
343 343
344 Vector(){} 344 Vector(){}
345 345
346 Vector (T* data, size_t length) : 346 Vector (T* data, size_t length) :
347 Super (std::vector<T> (data, data + length)) {} 347 Super (std::vector<T> (data, data + length)) {}

mercurial