CPP-AP 2.2.6
Command-line argument parser for C++20
Loading...
Searching...
No Matches
ap::detail::c_one_of Concept Reference

Validates that T is the same as one of the types defined by Types. More...

#include <concepts.hpp>

Concept definition

template<typename T, typename... Types>
concept ap::detail::c_one_of = std::disjunction_v<std::is_same<T, Types>...>
Validates that T is the same as one of the types defined by Types.
Definition concepts.hpp:51

Detailed Description

Validates that T is the same as one of the types defined by Types.

Template Parameters
TType to check.
TypesThe valid types to compare against.

Definition at line 51 of file concepts.hpp.