Template Class iteration_proxy_value

Class Documentation

template<typename IteratorType>
class iteration_proxy_value

Public Types

using difference_type = std::ptrdiff_t
using value_type = iteration_proxy_value
using pointer = value_type*
using reference = value_type&
using iterator_category = std::input_iterator_tag
using string_type = typename std::remove_cv<typename std::remove_reference<decltype(std::declval<IteratorType>().key())>::type>::type
using difference_type = std::ptrdiff_t
using value_type = iteration_proxy_value
using pointer = value_type*
using reference = value_type&
using iterator_category = std::input_iterator_tag
using string_type = typename std::remove_cv<typename std::remove_reference<decltype(std::declval<IteratorType>().key())>::type>::type

Public Functions

inline explicit iteration_proxy_value(IteratorType it) noexcept
inline iteration_proxy_value &operator*()

dereference operator (needed for range-based for)

inline iteration_proxy_value &operator++()

increment operator (needed for range-based for)

inline bool operator==(const iteration_proxy_value &o) const

equality operator (needed for InputIterator)

inline bool operator!=(const iteration_proxy_value &o) const

inequality operator (needed for range-based for)

inline const string_type &key() const

return key of the iterator

inline IteratorType::reference value() const

return value of the iterator

inline explicit iteration_proxy_value(IteratorType it) noexcept
inline iteration_proxy_value &operator*()

dereference operator (needed for range-based for)

inline iteration_proxy_value &operator++()

increment operator (needed for range-based for)

inline bool operator==(const iteration_proxy_value &o) const

equality operator (needed for InputIterator)

inline bool operator!=(const iteration_proxy_value &o) const

inequality operator (needed for range-based for)

inline const string_type &key() const

return key of the iterator

inline IteratorType::reference value() const

return value of the iterator