Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
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 146 of file iter-explorer.hpp.

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from RangeIter< iterator< CON > >
using pointer = _ValTrait::pointer
 
using reference = _ValTrait::reference
 
using value_type = std::remove_reference< reference >::type
 

Constructor & Destructor Documentation

◆ StlRange() [1/2]

template<class CON >
StlRange ( )
default

◆ StlRange() [2/2]

template<class CON >
StlRange ( CON &  container)
inline

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

+ Inheritance diagram for StlRange< CON >:
+ Collaboration diagram for StlRange< CON >:

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