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

Synopsis

Declared in <bslstl_variant.h>

template<
    class t_HEAD,
    class... t_TAIL>
union Variant_Union<t_HEAD, t_TAIL...>;

Member Functions

Name

Description

Variant_Union [constructor]

Constructors

Data Members

Name

Description

d_head [variant member]

Storage for the alternative at index 0.

d_tail [variant member]

Storage for the remaining alternatives, at indices 1 and above.

Created with MrDocs