CPN
Computational Process Networks
Classes
IteratorRef.h File Reference

This allows the encapsulation of an arbitrary iterator of a specific type. This allows for non template functions to take an iterator from any stl container that has the given type. More...

#include <cpn/common.h>
#include <iterator>
#include <typeinfo>
#include <memory>
+ Include dependency graph for IteratorRef.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IteratorRef< T >
 A reference to an iterator. More...
 
class  IteratorRef< T >::ItrRef
 
class  IteratorRef< T >::ItrRefImpl< iterator_type >
 

Detailed Description

This allows the encapsulation of an arbitrary iterator of a specific type. This allows for non template functions to take an iterator from any stl container that has the given type.

Author
John Bridgman Note that this iterator does not implement the full iterator interface. This is also less efficient.

Definition in file IteratorRef.h.