Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/iter-index.hpp"
Implementation of a »IterStateCore« to access the container through an embedded index variable.
Definition at line 55 of file iter-index.hpp.
Public Types | |
using | IterWrapper = lib::IterStateWrapper< value_type, 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) |