C++
C#
VB
JScript
All

# Vector

Copyright (C) 2005 IENT-RWTH Aachen

Class that represents one-dimentional arrays

|  | generator_traits<G>

| Vector

|  | generator_traits<G>

| Vector

Subclasses

Array

Groups

Constructors
Vector | Builds an instance of the object
Assignment
operator= | Assignment Operator
Operators
operator[] | Element access
Operations
back | Last element access
begin | Iterator that points at the first element
end | Iterator that points just beyond the last element
front | First element access
lower_bound | Lowest valid position
nelms | Number of elements, same result than size
rbegin | Reverse iterator that points at the last element
rend | Reverse iterator that points just before the first element
resize | Changes the size
set_lower_bound | Changes the lowest valid position
size | Number of elements
swap | Swap the contents
upper_bound | Greatest valid position
withinbounds | Tests the validity of the position

Example

    template<class G>
    typename Vector<G>::size_type size(const Vector<G> &X)
    {
      return X.size();
    }