This component‐private union can hold a Variant_DataImp object for any alternative in (template parameters) t_TYPES.... The primary template is used when t_TYPES... is empty.

Synopsis

Declared in <bslstl_variant.h>

template<class... t_TYPES>
union Variant_Union;

Specializations

Name

Description

Variant_Union<t_HEAD, t_TAIL...>

This partial specialization uses template recursion because C++ does not support member packs.

Created with MrDocs