Yggdrasill  0.2
Public Attributes | List of all members
ygg::ListNodeBase< Node, Tag > Class Template Reference

Base class (template) to supply your node class with metainformation. More...

#include <list.hpp>

Public Attributes

Node * _l_prev
 
Node * _l_next
 

Detailed Description

template<class Node, class Tag = int>
class ygg::ListNodeBase< Node, Tag >

Base class (template) to supply your node class with metainformation.

The class you use as nodes for the linked list must derive from this class (template). It supplies your class with the necessary members to contain the linking between the list nodes.

Template Parameters
NodeThe node class itself. Yes, that's the class derived from this template. This sounds weird, but is correct. See the examples if you're confused.
TagThe tag used to identify the tree that this node should be inserted into. See List for details.

The documentation for this class was generated from the following file: