Assign the specified TYPE value to this object.
Synopsis
Declared in <bdlb_variant.h>
template<class TYPE>
Variant14<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14>&
operator=(TYPE const& value);
Description
The value currently held by this variant (if any) is destroyed if that value's type is not the same as TYPE. TYPE must be the same as one of the types that this variant can hold.
Return Value
reference providing modifiable access to this object
Parameters
Name |
Description |
value |
value assigned to or stored in this variant |
Created with MrDocs