BloombergLP::bdlb::VariantImp::operator=

Assign the type and value of rhs to this object.

Synopsis

Declared in <bdlb_variant.h>

VariantImp<TYPES>&
operator=(bslmf::MovableRef<VariantImp> rhs);

Description

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

NameDescription
rhsright-hand operand