BloombergLP::bdlb::NullableValue::NullableValue

Create a null nullable object that uses the specified allocator.

Synopsis

Declared in <bdlb_nullablevalue.h>

explicit
NullableValue(allocator_type const& allocator) noexcept;

Description

Create a nullable object that has the null value and that uses the specified allocator (e.g., the address of a bslma::Allocator object) to supply memory. Note that this constructor will not participate in overload resolution unless TYPE is allocator aware.

Parameters

NameDescription
allocatorallocator used to supply memory