Lumiera  0.pre.03
»edit your freedom«
StlRange< CON > Struct Template Reference

#include "lib/iter-explorer.hpp"

Description

template<class CON>
struct lib::iter_explorer::StlRange< CON >

Adapt STL compliant container.

Note
the container itself is not included in the resulting iterator, it is just assumed to stay alive during the entire iteration.

Definition at line 150 of file iter-explorer.hpp.

Public Member Functions

 StlRange (CON &container)
 
- Public Member Functions inherited from RangeIter< iterator< CON > >
 RangeIter (iterator< CON > const &start, iterator< CON > const &end)
 
 RangeIter (I2 const &oIter)
 allow copy, when the underlying iterators are compatible or convertible
 
bool empty () const
 
 ENABLE_USE_IN_STD_RANGE_FOR_LOOPS (RangeIter)
 
const iterator< CON > & getEnd () const
 
const iterator< CON > & getPos () const
 access wrapped STL iterator
 
bool isValid () const
 
 operator bool () const
 
reference operator* () const
 
RangeIteroperator++ ()
 
pointer operator-> () const
 

Additional Inherited Members

- Public Types inherited from RangeIter< iterator< CON > >
using pointer = typename _ValTrait::pointer
 
using reference = typename _ValTrait::reference
 
using value_type = typename std::remove_reference< reference >::type
 
+ Inheritance diagram for StlRange< CON >:
+ Collaboration diagram for StlRange< CON >:

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