Inherited by cxx::T_list_item< T >.
|
| template<typename C , typename N > |
| static C * | push_back (C *head, N *p) throw () |
| | Append item to a list. More...
|
| |
| template<typename C , typename N > |
| static C * | push_front (C *head, N *p) throw () |
| | Prepend item to a list. More...
|
| |
| template<typename C , typename N > |
| static C * | remove (C *head, N *p) throw () |
| | Remove item from a list. More...
|
| |
Basic list item.
Basic item that can be member of a doubly linked, cyclic list.
Definition at line 37 of file list.
template<typename C , typename N >
| C * cxx::List_item::push_back |
( |
C * |
head, |
|
|
N * |
p |
|
) |
| |
| throw | ( | |
| ) | | |
|
inlinestatic |
Append item to a list.
Convenience function for empty-head corner case.
- Parameters
-
| head | Pointer to the current list head. |
| p | Pointer to new item. |
- Returns
- the pointer to the new head.
Definition at line 248 of file list.
Referenced by remove(), and remove_me().
template<typename C , typename N >
| C * cxx::List_item::push_front |
( |
C * |
head, |
|
|
N * |
p |
|
) |
| |
| throw | ( | |
| ) | | |
|
inlinestatic |
Prepend item to a list.
Convenience function for empty-head corner case.
- Parameters
-
| head | pointer to the current list head. |
| p | pointer to new item. |
- Returns
- the pointer to the new head.
Definition at line 259 of file list.
Referenced by remove(), and remove_me().