CppELib 1.7.0
|
STL-like intrusive doubly linked list. More...
#include <IntrusiveList.h>
Public Types | |
typedef T | value_type |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef IntrusiveList_iterator< T, T &, T *, IntrusiveListNode * > | iterator |
typedef IntrusiveList_iterator< T, const T &, const T *, const IntrusiveListNode * > | const_iterator |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Public Member Functions | |
IntrusiveList () | |
bool | empty () const |
size_type | size () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
void | push_back (T &data) |
void | pop_back () |
void | push_front (T &data) |
void | pop_front () |
iterator | insert (iterator pos, T &data) |
iterator | erase (iterator pos) |
void | splice (iterator pos, IntrusiveList &x) |
void | splice (iterator pos, IntrusiveList &x, iterator i) |
void | splice (iterator pos, IntrusiveList &x, iterator first, iterator last) |
void | swap (IntrusiveList &other) |
STL-like intrusive doubly linked list.
T | Type of element (that must be derived from IntrusiveListNode) |
typedef IntrusiveList_iterator<T, const T&, const T*, const IntrusiveListNode*> Container::IntrusiveList< T >::const_iterator |
typedef const value_type* Container::IntrusiveList< T >::const_pointer |
typedef const value_type& Container::IntrusiveList< T >::const_reference |
typedef std::reverse_iterator<const_iterator> Container::IntrusiveList< T >::const_reverse_iterator |
typedef std::ptrdiff_t Container::IntrusiveList< T >::difference_type |
typedef IntrusiveList_iterator<T, T&, T*, IntrusiveListNode*> Container::IntrusiveList< T >::iterator |
typedef value_type* Container::IntrusiveList< T >::pointer |
typedef value_type& Container::IntrusiveList< T >::reference |
typedef std::reverse_iterator<iterator> Container::IntrusiveList< T >::reverse_iterator |
typedef std::size_t Container::IntrusiveList< T >::size_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |