Assignment operators
Declared in <bslstl_variant.h>
If the specified rhs holds the same alternative type as this object, copy assign the contained value of rhs to the contained value of this object.
Variant_Base<t_HEAD, t_TAIL...>&
operator=(Variant_Base const& rhs);
» more...
If the specified rhs holds the same alternative type as this object, move assign the contained value of rhs to the contained value of this object.
Variant_Base<t_HEAD, t_TAIL...>&
operator=(BloombergLP::bslmf::MovableRef<Variant_Base> rhs);
» more...
reference to this object
| Name | Description |
|---|---|
| rhs | object to assign from |