Assignment operators
Declared in <bdlb_variant.h>
Assign the type and value of rhs to this object.
Variant18<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18>&
operator=(Variant18 const& rhs);
» more...
Assign the type and value of rhs to this object.
VariantImp<TYPES>&
operator=(VariantImp const& rhs);
» more...
Assign the type and value of rhs to this object.
Variant18<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18>&
operator=(bslmf::MovableRef<Variant18> rhs);
» more...
Assign the type and value of rhs to this object.
VariantImp<TYPES>&
operator=(bslmf::MovableRef<VariantImp> rhs);
» more...
Assign the specified TYPE value to this object.
template<class TYPE>
Variant18<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18>&
operator=(TYPE const& value);
» more...
Assign the specified TYPE value to this object.
template<class TYPE>
Variant18<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18>&
operator=(TYPE&& value)
requires !bsl::is_same<SelfType,
typename bsl::remove_cvref<TYPE>::type>::value;
» more...
reference providing modifiable access to this object
| Name | Description |
|---|---|
| rhs | right-hand operand |
| value | value assigned to or stored in this variant |