Assign the type and value of rhs to this object.
Synopsis
Declared in <bdlb_variant.h>
Variant4<A1, A2, A3, A4>&
operator=(bslmf::MovableRef<Variant4> rhs);
Description
The value currently held by this variant (if any) is destroyed if that value's type is not the same as the type held by the rhs object. The contents of rhs are either move‐inserted into or move‐assigned to this object with rhs left in a valid but unspecified state.
Return Value
reference providing modifiable access to this object
Parameters
Name |
Description |
rhs |
right‐hand operand |
Created with MrDocs