Assign the type and value of rhs to this object.
Synopsis
Declared in <bdlb_variant.h>
Variant8<A1, A2, A3, A4, A5, A6, A7, A8>&
operator=(Variant8 const& 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.
Return Value
reference providing modifiable access to this object
Parameters
Name |
Description |
rhs |
right‐hand operand |
Created with MrDocs