dot-xx
A personal collection of small C++ modules
Loading...
Searching...
No Matches
dxx::utils::either_of Concept Referenceexport
module dxx.utils

Checks if a type is the same as at least one of the provided arguments. More...

Concept definition

template<typename T, typename... Ts>
concept either_of = (std::same_as<T, Ts> || ...)
Checks if a type is the same as at least one of the provided arguments.
Definition traits.xx:56

Detailed Description

Checks if a type is the same as at least one of the provided arguments.