Constructors

Synopses

Declared in <bdlb_nullableallocatedvalue.h>

Create a nullable object having the null value. Use the currently installed default allocator to supply memory.

Create a nullable object having the value of the specified original object. Use the currently installed default allocator to supply memory.

Create a nullable object having the specified value. Use the currently installed default allocator to supply memory.

NullableAllocatedValue(TYPE const& value);

Create a nullable object having the null value. Use the currently installed default allocator to supply memory.

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

explicit
NullableAllocatedValue(bsl::allocator<char> const& allocator);

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

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

NullableAllocatedValue(
    TYPE const& value,
    bsl::allocator<char> const& allocator);

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

Created with MrDocs