#include <growable_vector.h>
Inheritance diagram for growable_vector< T >:

Public Types | |
| typedef std::vector< T > | container_type |
| typedef container_type::size_type | size_type |
Public Member Functions | |
| T | operator[] (size_type index) const |
| Index into the vector for a value. | |
| T & | operator[] (size_type index) |
| Index into the vector for a value. | |
| growable_vector< T > & | operator+= (growable_vector< T > const &rhs) |
| vectorized += operator | |
| growable_vector< T > & | operator-= (growable_vector< T > const &rhs) |
| vectorized -= operator, overflow shouldn't occur during substraction (iow: for each components lhs[i] >= rhs[i] | |
| size_type | size () const |
| return current size of vector | |
| void | fill (size_type size, T const &value) |
| fill container with given value | |
| bool | zero () const |
| return true if all elements have the default constructed value | |
|
|||||
|
|
|
|||||
|
|
|
||||||||||||||||
|
fill container with given value
|
|
||||||||||
|
vectorized += operator
|
|
||||||||||
|
vectorized -= operator, overflow shouldn't occur during substraction (iow: for each components lhs[i] >= rhs[i]
|
|
||||||||||
|
Index into the vector for a value. If the index is larger than the current max index, the array is expanded, default-filling any intermediary gaps. |
|
||||||||||
|
Index into the vector for a value. An out of bounds index will return a default-constructed value. |
|
|||||||||
|
return current size of vector
|
|
|||||||||
|
return true if all elements have the default constructed value
|
1.4.6