|
DSA - Data Structures and Algorithms
|
Implements Node template class with pointer to adjacent elements. More...
#include <list.h>
Public Member Functions | |
| Node (T value) | |
| Construct a new Node object with initial value. | |
| auto | value () -> T & |
| Function returns value stored in Node object. | |
| auto | value () const -> T |
| Function returns value stored in Node object. | |
| Public Member Functions inherited from dsa::List< T >::NodeBase | |
| NodeBase ()=default | |
| Construct a new NodeBase object. | |
| NodeBase (const NodeBase &other)=default | |
| Construct a new NodeBase object using copy constructor. | |
| auto | operator= (const NodeBase &other) -> NodeBase &=default |
| Construct a new NodeBase object using copy assignment. | |
| NodeBase (NodeBase &&other)=default | |
| Construct NodeBase object using move constructor. | |
| auto | operator= (NodeBase &&other) -> NodeBase &=default |
| Construct NodeBase object using move assignment. | |
| virtual | ~NodeBase ()=default |
| Destroy the Node Base object. | |
Friends | |
| class | List |
| Forward friend declaration of List. | |
Implements Node template class with pointer to adjacent elements.
|
inline |
|
inline |
|
inlinenodiscard |
|
friend |