|
|
void | push_back (D const &d) noexcept |
| | Add element at the end of the list.
|
|
void | push_front (D const &d) noexcept |
| | Add element at the beginning of the list.
|
|
void | remove (Iter const &i) noexcept |
| | Remove element pointed to by the iterator.
|
|
unsigned long | size () const noexcept |
| | Get the length of the list.
|
| D const & | operator[] (unsigned long idx) const noexcept |
| | Random access.
|
| D & | operator[] (unsigned long idx) noexcept |
| | Random access.
|
|
Iter | items () noexcept |
| | 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 323 of file list.