|
Lolly 1.4.28
|
The list_rep class represents a node in a linked list. More...
#include <list.hpp>


Public Member Functions | |
| list_rep (T item2, list< T > next2) | |
| Construct a new list_rep object. | |
| ~list_rep () | |
| Destroy the list_rep object. | |
Public Attributes | |
| T | item |
| list< T > | next |
Friends | |
| class | list< T > |
Additional Inherited Members | |
Private Member Functions inherited from concrete_struct | |
| concrete_struct () | |
| Default constructor for the concrete object. Increments the reference count. | |
| virtual | ~concrete_struct () |
| Virtual destructor for the concrete object. Decrements the reference count. | |
Private Attributes inherited from concrete_struct | |
| int | ref_count |
| The reference count for the concrete object. | |
The list_rep class represents a node in a linked list.
| T | The type of the data stored in the list. |
|
inline |
Construct a new list_rep object.
| item2 | The data to be stored in this node. |
| next2 | A pointer to the next node in the list. |
Definition at line 116 of file list.hpp.