Lumiera  0.pre.03
»edit your freedom«
WrappedVector Struct Reference

Description

example of simply wrapping an STL container and exposing a range as Lumiera Forward Iterator

Definition at line 61 of file iter-adapter-test.cpp.

Public Types

typedef RangeIter< const_sourceIter > const_iterator
 
typedef vector< int >::const_iterator const_sourceIter
 
typedef RangeIter< sourceIter > iterator
 
typedef vector< int >::iterator sourceIter
 

Public Member Functions

 WrappedVector (uint num)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 

Public Attributes

vector< int > data_
 
+ Collaboration diagram for WrappedVector:

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