Generic.h File Reference
#include "dlink.h"
#include <ostream>
Include dependency graph for Generic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  unary_function< _Arg, _Result >
 
class  InstanceToSingletonAdapter< C >
 
struct  PointerPrinter< Pointer >
 

Functions

template<class L , class T >
T & for_each (L const &head, T &visitor)
 
template<class T >
T & for_each (dlink_list const &collection, T &visitor)
 
template<class InputIterator , class Visitor >
Visitor & for_each (InputIterator from, InputIterator to, Visitor &visitor)
 

Function Documentation

template<class L , class T >
T& for_each ( L const &  head,
T &  visitor 
)
template<class T >
T& for_each ( dlink_list const &  collection,
T &  visitor 
)

Definition at line 32 of file Generic.h.

References dlink_list::head, and node::next.

template<class InputIterator , class Visitor >
Visitor& for_each ( InputIterator  from,
InputIterator  to,
Visitor &  visitor 
)

Definition at line 72 of file Generic.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors