bsl::variant_size<t_BSL_VARIANT const volatile>

Strip const volatile from t_BSL_VARIANT before computing its size.

Synopsis

Declared in <bslstl_variant.h>

template<class t_BSL_VARIANT>
struct variant_size<t_BSL_VARIANT const volatile>
    : variant_size<t_BSL_VARIANT>

Description

This partial specialization of variant_size strips top-level const and volatile qualifiers from t_BSL_VARIANT before forwarding to the primary metafunction.

Base Classes

NameDescription
variant_size<t_BSL_VARIANT>This metafunction calculates the number of alternatives in the (possibly cv-qualified) bsl::variant type of (template parameter) t_BSL_VARIANT.