node of a list More...
#include <mlist.h>
Public Member Functions | |
node (T val_, node *next_=(node *) NULL) | |
default constructors | |
~node () | |
destructor | |
node (const node &n) | |
copy constructor | |
node & | operator= (const node &n) |
assignment operator | |
const T & | val () const |
accesses the value of the node | |
const node * | next () const |
accesses the next element | |
T & | val () |
accesses the value of the node | |
node *& | next () |
accesses the next element |
node of a list