Assign to this object the value of the specified rhs object (of BDE_OTHER_TYPE) converted to TYPE, and return a reference providing modifiable access to this object. Note that this method will fail to compile if TYPE and BDE_OTHER_TYPE are not compatible. Note that on C++03 but not in C++11 and beyond, if BDE_OTHER_TYPE is bslmf::MovableRef<TYPE3> and TYPE supports moves and/or assigns from that type, a move rather than a copy may take place.

Synopsis

Declared in <bdlb_nullablevalue.h>

template<class BDE_OTHER_TYPE>
NullableValue<TYPE>&
operator=(BDE_OTHER_TYPE const& rhs);

Created with MrDocs