141:d9073c13dc98 | 150:37db42ad451a |
---|---|
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 { |