If *this holds an object, assign to that object the value of the specified rhs, converted to t_TYPE. Otherwise, construct a held object from rhs, converted to t_TYPE.

Synopsis

Declared in <bslstl_optional.h>

template<class t_ANY_TYPE>
constexpr
void
assignOrEmplace(t_ANY_TYPE&& rhs);

Created with MrDocs