Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

linkable.h File Reference

Defines base linkable structures for single and double linked lists. More...

#include <assert.h>

Go to the source code of this file.

Namespaces

namespace  base


Detailed Description

Defines base linkable structures for single and double linked lists.

struct is used (instead of class) for style reasons (though it's the same conceptually): class refers to an object, struct refers to a simple data structure made to be stored. These structures are defined because it is far more readable to have bla->link(somewhere) than the manual pointer link stuff every time. This reduces errors. Furthermore the default lists of the STL are double linked.


Generated on Fri Jun 30 00:02:30 2006 for Module base by  doxygen 1.4.2