BloombergLP::bslstl::Variant_CorrespondingStdVariant

Provide the std::variant type corresponding to t_TYPE, or void.

Synopsis

Declared in <bslstl_variant.h>

template<class t_TYPE>
struct Variant_CorrespondingStdVariant;

Description

This component-private metafunction declares a member type that is an alias to the std::variant type corresponding to t_TYPE if one exists, and void otherwise.

Type Aliases

NameDescription
type Corresponding std::variant type, or void if none exists.

Specializations

NameDescription
Variant_CorrespondingStdVariant<bsl::variant<t_HEAD, t_TAIL...>> Provide the corresponding std::variant type for a bsl::variant.