sparrow 0.3.0
Loading...
Searching...
No Matches
sparrow::mpl::constant_iterator Concept Reference

Represents a constant iterator. More...

#include <mp_utils.hpp>

Concept definition

template<class T>
concept sparrow::mpl::constant_iterator = std::input_iterator<T>
&& std::same_as<iter_const_reference_t<T>, std::iter_reference_t<T>>
Represents a constant iterator.
Definition mp_utils.hpp:406

Detailed Description

Represents a constant iterator.

A constant iterator is an iterator that satisfies the following requirements:

  • It is an input iterator.
  • The reference type of the iterator is the same as the const reference type of the iterator.
Template Parameters
TThe type of the iterator.

Definition at line 406 of file mp_utils.hpp.