CBMC
|
Iterator which applies some given function f
after each increment and returns its result on dereference.
More...
#include <range.h>
Public Types | |
using | difference_type = typename iteratort::difference_type |
using | value_type = outputt |
using | pointer = const outputt * |
using | reference = const outputt & |
using | iterator_category = std::forward_iterator_tag |
Public Member Functions | |
bool | operator== (const map_iteratort &other) const |
bool | operator!= (const map_iteratort &other) const |
map_iteratort & | operator++ () |
Preincrement operator. More... | |
map_iteratort | operator++ (int) |
Postincrement operator. More... | |
value_type & | operator* () |
value_type * | operator-> () |
const value_type & | operator* () const |
const value_type * | operator-> () const |
map_iteratort (iteratort underlying, iteratort underlying_end, std::shared_ptr< std::function< value_type(const typename iteratort::value_type &)>> f) | |
Private Attributes | |
iteratort | underlying |
iteratort | underlying_end |
std::shared_ptr< std::function< value_type(const typename iteratort::value_type &)> > | f |
std::shared_ptr< outputt > | current = nullptr |
Stores the result of f at the current position of the iterator. More... | |
Iterator which applies some given function f
after each increment and returns its result on dereference.
using map_iteratort< iteratort, outputt >::difference_type = typename iteratort::difference_type |
using map_iteratort< iteratort, outputt >::iterator_category = std::forward_iterator_tag |
using map_iteratort< iteratort, outputt >::pointer = const outputt * |
using map_iteratort< iteratort, outputt >::reference = const outputt & |
using map_iteratort< iteratort, outputt >::value_type = outputt |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |