This partial specialization of variant_size strips a top‐level volatile qualifier from t_BSL_VARIANT before forwarding to the primary metafunction.

Synopsis

Declared in <bslstl_variant.h>

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

Base Classes

Name

Description

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.

Created with MrDocs