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

Name

Description

nullopt

disengaged‐optional tag; value is unused

allocator

allocator used to supply memory

Created with MrDocs