#include <vector.hh>
Public Member Functions | |
| void | clear () |
| Just set the size to 0. | |
Public Attributes | |
| T * | mpData |
| data | |
| size_t | mSize |
| actual size in elements | |
| size_t | mCapacity |
| vector's capacity in elements | |
| bool | mEmpty |
| empty flag | |
Simple vector implementation. clear() does not erase elements, just sets size to 0. The goal is also to have interface same as std::vector<>.
| void nnl::vector< T >::clear | ( | ) | [inline] |
Just set the size to 0.
Does not call destructors on contained objects!!!
1.4.7