CPP-AP 3.0.1
Command-line argument parser for C++20
Loading...
Searching...
No Matches
ap::util::c_forward_iterator_of Concept Reference

Validates that It is a forward iterator of type T (ignoring the cvref qualifiers). More...

#include <concepts.hpp>

Concept definition

template<typename It, typename V, type_validator TV type_validator::same>
std::input_iterator<It> and c_valid_type<std::iter_value_t<It>, V, TV>
Validates that It is a forward iterator of type T (ignoring the cvref qualifiers).
Definition concepts.hpp:162
Concept that enforces is_valid_type_v.
Definition concepts.hpp:128

Detailed Description

Validates that It is a forward iterator of type T (ignoring the cvref qualifiers).

Template Parameters
ItThe iterator type to check.
VThe expected iterator value type.
TVThe validation rule (same or convertible).

Definition at line 162 of file concepts.hpp.