xte ::is_same_any <>
Defined in header <xte/trait/is_same_any.hpp> Checks whether the first type is the same as at least one of the following types.
Definition
template <typename T ,typename... Ts >concept is_same_any = (... ||std ::same_as <T ,Ts >);
Example
[View in Compiler Explorer]static_assert (xte ::is_same_any <int ,char ,int >);static_assert (not xte ::is_same_any <int ,char ,void >);