Doubly-linked list of objects derived from a class Node.
More...
#include <HeterogeneousList.hpp>
List of all members.
Detailed Description
template<class Node>
class CXXR::HeterogeneousList< Node >
Doubly-linked list of objects derived from a class Node.
- Template Parameters:
-
Member Function Documentation
Last element of list.
- Returns:
- A pointer to the last Node on the list. Effect undefined if the list is empty.
Last element of list (const variant).
- Returns:
- A pointer to the last Node on the list. Effect undefined if the list is empty.
First element of list.
- Returns:
- A pointer to the first Node on the list. Effect undefined if the list is empty.
First element of list (const variant).
- Returns:
- A const pointer to the first Node on the list. Effect undefined if the list is empty.
Move node to the end of this list.
- Parameters:
-
node | Pointer to the node to be moved. The node may currently be on this list or another list, or be a free Link. |
Move contents of another list to the back of this list.
- Parameters:
-
other | Pointer to the list whose contents are to be moved. The nodes of other are transferred, preserving their order, to the back of this list, leaving other as an empty list. It is permissible for other to point to this list itself, in which case the function is a no-op. |
The documentation for this class was generated from the following file: