Template Class MemoryMap::Iterator_

Nested Relationships

This class is a nested type of Template Class MemoryMap.

Inheritance Relationships

Base Type

  • public std::iterator< std::forward_iterator_tag, Value >

Class Documentation

template<bool Const = false>
class Iterator_ : public std::iterator<std::forward_iterator_tag, Value>

Public Types

template<>
template<>
using Map = typename std::conditional<Const, const MemoryMap<Value>, MemoryMap<Value>>::type
template<>
template<>
using ValuePtr = typename std::conditional<Const, const Value *, Value *>::type
template<>
template<>
using Content = std::pair<Key, ValuePtr>
template<>
template<>
using Reference = typename std::conditional<Const, const Content&, Content&>::type
template<>
template<>
using Pointer = typename std::conditional<Const, const Content *, Content *>::type

Public Functions

template<>
Iterator_(Map *map, Key ptr)
template<>
Iterator_(Map *map, iterator_begin)
template<>
Iterator_(Map *map, iterator_end)
template<bool OtherConst>
Iterator_(const Iterator_<OtherConst> &other)
template<>
MemoryMap<V>::template Iterator_<Const>::Reference operator*()
template<>
MemoryMap<V>::template Iterator_<Const>::Pointer operator->()
template<>
MemoryMap<V>::template Iterator_<Const> &operator++()
template<>
MemoryMap<V>::template Iterator_<Const> operator++(int)
template<bool OtherConst>
bool operator==(const Iterator_<OtherConst> &other) const
template<bool OtherConst>
bool operator!=(const Iterator_<OtherConst> &other) const
template<bool OtherConst>
bool operator==(const MemoryMap<V>::Iterator_<OtherConst> &other) const
template<bool OtherConst>
bool operator!=(const MemoryMap<V>::Iterator_<OtherConst> &other) const