Fixed‐arity specialization of Variant for 11 types.
Synopsis
Declared in <bdlb_variant.h>
template<
class A1,
class A2,
class A3,
class A4,
class A5,
class A6,
class A7,
class A8,
class A9,
class A10,
class A11>
class Variant11
: public VariantImp<bslmf::TypeList11<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11>::ListType>
Description
Its 11 template arguments must all be specified (none are defaulted to bslmf::Nil). It provides the same functionality as `Variant<A1, A2, ..., A11>`.
Base Classes
Name |
Description |
|
This class provides the implementation of |
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
|
|
|
|
Assign the specified |
|
Assign |
|
DEPRECATED: Do not use. |
|
DEPRECATED: Do not use. |
|
Emplace a |
|
Return whether this variant currently holds a |
|
Return whether this variant currently holds no value. |
|
DEPRECATED: Do not use. |
|
Format this object to the specified output |
|
Destroy the current value held by this variant (if any), and reset this variant to the unset state. |
|
Swap the value of this object with |
|
|
|
Return the 1‐based index of the held type, or 0 if unset. |
|
Return |
|
|
Nested trait declaration for |
Nested trait declaration for |
|
Nested trait declaration for |
|
Nested trait declaration for |
|
|
Nested trait declaration for |
Nested trait declaration for |
|
Nested trait declaration for |
|
Nested trait declaration for |
Non-Member Functions
Name |
Description |
Return whether |
|
Grant the equality comparison operator access to this class's private members. |
|
Return whether |
|
Swap the values of the specified |
Created with MrDocs