First page Back Continue Last page Graphics
vector member functions cont.
non-modifying
size( )
- Returns the actual number of elements.
empty( )
- Returns whether the container is empty (equivalent to size( ) == 0, but might be faster).
max_size( )
- Returns the maximum number of elements possible.
capacity( )
- Returns the maximum possible number of elements without reallocation.