Assign the specified TYPE value to this object.
Declared in <bdlb_variant.h>
Assign the specified TYPE value to this object.
template<class TYPE>
VariantImp<TYPES>&
assign(TYPE const& value);
» more...
Assign the specified TYPE value to this object.
template<class TYPE>
VariantImp<TYPES>&
assign(TYPE&& value);
» more...
reference providing modifiable access to this object
| Name | Description |
|---|---|
| value | value assigned to or stored in this variant |