StormByte 3.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>
StormByte::Type::Variant T that lists U among its alternatives.
Definition wrappers.hxx:191
Instantiation of std::variant, after stripping cv and references.
Definition wrappers.hxx:177
constexpr bool variant_has_type_v
Convenience wrapper around StormByte::Type::Detail::variant_has_type_impl.
Definition wrappers.hxx:122

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);