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

Name

Description

allocator

allocator used to supply memory

Created with MrDocs