Assignment operators

Synopses

Declared in <bslstl_variant.h>

If the specified rhs holds the same alternative type as this object, copy assign the contained value of rhs to the contained value of this object.

If the specified rhs holds the same alternative type as this object, move assign the contained value of rhs to the contained value of this object.

Return Value

reference to this object

Parameters

Name

Description

rhs

object to assign from

Created with MrDocs