Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/index-iter.hpp"
Implementation of a »IterStateCore« to access the container through an embedded index variable.
Definition at line 46 of file index-iter.hpp.
Public Types | |
using | IterWrapper = lib::IterStateWrapper< IndexAccessCore > |
using | reference = typename meta::RefTraits< ResVal >::Reference |
using | ResVal = decltype(data_->operator[](0)) |
using | value_type = typename meta::RefTraits< ResVal >::Value |
Public Member Functions | |
bool | checkPoint () const |
bool | isValidIDX (size_t idx) const |
void | iterNext () |
reference | yield () const |
Public Attributes | |
PTR | data_ {} |
size_t | idx_ {0} |
Friends | |
bool | operator!= (IndexAccessCore const &c1, IndexAccessCore const &c2) |
bool | operator== (IndexAccessCore const &c1, IndexAccessCore const &c2) |