I'm trying to create an iterator which only can dereference to real value types, not to references.
Is this possible using boost::iterator_facade
, or does it require me to have values that can be returned by adress\reference.
To be more specfic, my iterator returns a std::pair
of references, which means my iterators value_type
is not stored anywhere, but created on the fly on dereferencing (like std::map::iterator
).