|
theCore C++ embedded framework
|
Intrusive, double-linked, circular list head. More...
#include </home/travis/build/forGGe/theCore/lib/containers/export/ecl/list.hpp>
Public Member Functions | |
| list () | |
| Constructs a list. More... | |
| list_iter< T, Mptr > | begin () |
| Returns iterator to first valid element of a list, provided that this node is a head. More... | |
| list_iter< T, Mptr > | end () |
| Returns iterator to end of the list, provided that this node is a head. More... | |
| bool | empty () const |
| Checks if list is empty. More... | |
| void | push_back (T &t) |
| Push element to the end of a list. More... | |
Intrusive, double-linked, circular list head.
Any class can use intrusive list node by composing it.
| T | The type of enclosing class or struct. |
| Mptr | The member-pointer of the list node inside enclosing class. |
Returns iterator to first valid element of a list, provided that this node is a head.
Returns iterator to end of the list, provided that this node is a head.
| bool ecl::list< T, Mptr >::empty | ( | ) | const |
Checks if list is empty.
| void ecl::list< T, Mptr >::push_back | ( | T & | t | ) |
Push element to the end of a list.