Vector
Copyright (C) 2005 IENT-RWTH Aachen
Class that represents one-dimentional arrays
Subclasses
Array
Groups
Constructors | |
![]() |
Builds an instance of the object |
Assignment | |
![]() |
Assignment Operator |
Operators | |
![]() |
Element access |
Operations | |
![]() |
Last element access |
![]() |
Iterator that points at the first element |
![]() |
Iterator that points just beyond the last element |
![]() |
First element access |
![]() |
Lowest valid position |
![]() |
Number of elements, same result than size |
![]() |
Reverse iterator that points at the last element |
![]() |
Reverse iterator that points just before the first element |
![]() |
Changes the size |
![]() |
Changes the lowest valid position |
![]() |
Number of elements |
![]() |
Swap the contents |
![]() |
Greatest valid position |
![]() |
Tests the validity of the position |
Example
template<class G> typename Vector<G>::size_type size(const Vector<G> &X) { return X.size(); }