Create a nullable object having the same value as the specified original object by moving the contents of original to the newly‐created object. If TYPE takes an optional allocator at construction, the allocator associated with original is propagated for use in the newly‐created object. original is left in a valid but unspecified state.
Synopsis
Declared in <bdlb_nullablevalue.h>
NullableValue(bslmf::MovableRef<NullableValue> original) noexcept(/* see-below */);
Exception specification
This function is potentially-throwing unless bsl::is_nothrow_move_constructible<TYPE>::value.
Created with MrDocs