BloombergLP::bslstl::Variant_MoveAssignBase<t_ISCOPYCONSTRUCTIBLE, t_ISMOVECONSTRUCTIBLE, t_ISCOPYASSIGNABLE, false>::operator=

Assignment operators

Synopses

Declared in <bslstl_variant.h>

Assign to this object the value of the specified rhs object, and return a reference to this object.

Variant_MoveAssignBase&
operator=(Variant_MoveAssignBase const& rhs) = default;
» more...

The move assignment operator is deleted.

Variant_MoveAssignBase&
operator=(Variant_MoveAssignBase&& rhs) = delete;
» more...

Return Value

reference to this object

Parameters

NameDescription
rhsobject to assign from