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