This metafunction calculates the number of alternatives in the (possibly cv‐qualified) bsl::variant type of (template parameter) t_BSL_VARIANT. The primary template is not defined.

Synopsis

Declared in <bslstl_variant.h>

template<class t_BSL_VARIANT>
struct variant_size;

Specializations

Derived Classes