Create a null nullable object that uses the specified allocator.
Declared in <bdlb_nullablevalue.h>
NullableValue(
bsl::nullopt_t const& nullopt,
allocator_type const& allocator) noexcept;
Create a nullable object that has the null value; use the specified allocator (e.g., the address of a bslma::Allocator object) to supply memory for subsequent values assigned to this object. Note that this constructor will not participate in overload resolution unless TYPE is allocator aware.
| Name | Description |
|---|---|
| nullopt | disengaged-optional tag |
| allocator | allocator used to supply memory |