|
void | push_back (D const &d) throw () |
| Add element at the end of the list.
|
|
void | push_front (D const &d) throw () |
| Add element at the beginning of the list.
|
|
void | remove (Iter const &i) throw () |
| Remove element pointed to by the iterator.
|
|
unsigned long | size () const throw () |
| Get the length of the list.
|
|
D const & | operator[] (unsigned long idx) const throw () |
| Random access. More...
|
|
D & | operator[] (unsigned long idx) throw () |
| Random access. More...
|
|
Iter | items () throw () |
| Get iterator for the list elements.
|
|
template<typename D, template< typename A > class Alloc = New_allocator>
class cxx::List< D, Alloc >
Doubly linked list, with internal allocation.
Container for items of type D, implemented by a doubly linked list. Alloc defines the allocator policy.
Definition at line 334 of file list.