StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
StormByte::Type::VariantHasType Concept Reference

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>
Variant T that lists U among its alternatives.
Definition wrappers.hxx:146
Instantiation of std::variant, after stripping cv/ref.
Definition wrappers.hxx:132

Detailed Description

Variant T that lists U among its alternatives.

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