sources/list.h

changeset 148
19e98695e584
parent 137
485cb6d6b98c
child 157
42bb29924218
equal deleted inserted replaced
147:12c93c4a137c 148:19e98695e584
350 public: 350 public:
351 typedef Container<T, std::vector<T> > Super; 351 typedef Container<T, std::vector<T> > Super;
352 352
353 Vector(){} 353 Vector(){}
354 354
355 Vector(int numvalues) :
356 Super(numvalues){}
357
355 Vector (T* data, size_t length) : 358 Vector (T* data, size_t length) :
356 Super (std::vector<T> (data, data + length)) {} 359 Super (std::vector<T> (data, data + length)) {}
357 360
358 T* data() 361 T* data()
359 { 362 {

mercurial