StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Type::VariantHasType Concept Reference

StormByte::Type::Variant T that lists U among its alternatives. More...

#include <StormByte/type_traits/wrappers.hxx>

Concept definition

template<typename T, typename U>
Detail::variant_has_type_v<std::remove_cvref_t<T>, U>
StormByte::Type::Variant T that lists U among its alternatives.
Definition wrappers.hxx:161
Instantiation of std::variant, after stripping cv and references.
Definition wrappers.hxx:147

Detailed Description

StormByte::Type::Variant T that lists U among its alternatives.

Template Parameters
TVariant type (cv and references stripped before the lookup).
UAlternative to look for (cv and references stripped).
template<typename T, typename U>
void handle_variant(T var);