Provide the corresponding std::variant type for a bsl::variant.

Synopsis

Declared in <bslstl_variant.h>

template<
    class t_HEAD,
    class... t_TAIL>
struct Variant_CorrespondingStdVariant<bsl::variant<t_HEAD, t_TAIL...>>;

Description

This partial specialization of Variant_CorrespondingStdVariant provides the corresponding std::variant type for a bsl::variant specialized on (template parameters) t_HEAD, t_TAIL....

Type Aliases

Name

Description

type

Corresponding std::variant type with the same alternatives.

Created with MrDocs