intrusive-list.cpp File Reference

#include <utilities/IntrusiveList.h>
#include <algorithm>

Classes

struct  node
struct  ILAdaptor

Typedefs

typedef IntrusiveList< node,
ILAdaptor
ilist
typedef IntrusiveList< node,
ILAdaptor, false > 
ilist_drop_dupes

Functions

void ilist_play ()
void ilist_no_dupes_play ()
int main ()

Variables

const size_t nnodes = 10
node nodes [nnodes]

Typedef Documentation

typedef IntrusiveList<node, ILAdaptor> ilist
 

typedef IntrusiveList<node, ILAdaptor, false> ilist_drop_dupes
 


Function Documentation

void ilist_no_dupes_play  ) 
 

void ilist_play  ) 
 

Play around with inserting / removing from a list.

int main  ) 
 

Try inserting some duplicates.


Variable Documentation

const size_t nnodes = 10
 

node nodes[nnodes]
 


Generated on Thu Mar 27 19:04:15 2008 by  doxygen 1.4.6