#include <vector.h>
| |
A mutable random access iterator.
| |
| |
A const random access iterator.
|
| |
Introduces an empty vector.
| |
| |
Copy constructor.
| |
| |
Introduces a vector with items, all initialized to
.
|
|
| Assignment. |
|
| Test for equality: Two vectors are equal, iff they have the same size and if their corresponding elements are equal. |
|
| Test for inequality. |
|
| Test for lexicographically smaller. |
|
| Returns a mutable iterator referring to the first element in vector V. |
|
| Returns a constant iterator referring to the first element in vector V. |
|
| Returns a mutable iterator which is the past-end-value of vector V. |
|
| Returns a constant iterator which is the past-end-value of vector V. |
|
| Returns true if V is empty. |
|
| Returns the number of items in vector V. |
|
| Random access operator. |
|
| Random access operator. |
|
| Returns a reference to the first item in vector V. |
|
| Returns a const reference to the first item in vector V. |
|
| Returns a reference to the last item in vector V. |
|
| Returns a const reference to the last item in vector V. |
|
| Inserts an item at the back of vector V. | ||
|
| |||
Inserts a copy of t in front of iterator pos. The return value points to the inserted item. | ||||
|
| |||
Inserts copy of t in front of iterator pos. | ||||
|
| |||
Inserts a copy of the range first, last in front of iterator pos. | ||||
|
| Removes the last item from vector V. | ||
|
| |||
Removes the item from vector V, where pos refers to. | ||||
|
| |||
Removes the items in the rangefirst, last from vector V. |