BloombergLP::bdlb::NullableAllocatedValue::NullableAllocatedValue

Create a nullable object that has the null value and that uses the mechanism of the specified allocator to supply memory.

Synopsis

Declared in <bdlb_nullableallocatedvalue.h>

NullableAllocatedValue(
    bsl::nullopt_t const& nullopt,
    bsl::allocator<char> const& allocator);

Parameters

NameDescription
nulloptdisengaged-optional tag; value is unused
allocatorallocator used to supply memory