Constructors
Declared in <bdlb_nullableallocatedvalue.h>
Create a nullable object having the null value. Use the currently installed default allocator to supply memory.
NullableAllocatedValue();
» more...
Create a nullable object having the value of the specified original object. Use the currently installed default allocator to supply memory.
NullableAllocatedValue(NullableAllocatedValue const& original);
» more...
Create a nullable object having the specified value. Use the currently installed default allocator to supply memory.
NullableAllocatedValue(TYPE const& value);
» more...
Create a nullable object having the null value. Use the currently installed default allocator to supply memory.
NullableAllocatedValue(bsl::nullopt_t const& nullopt);
» more...
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);
» more...
Create a nullable object having the value of the specified original object and that uses the mechanism of the specified allocator to supply memory.
NullableAllocatedValue(
NullableAllocatedValue const& original,
bsl::allocator<char> const& allocator);
» more...
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);
» more...
Create a nullable object that has the null value and that uses the mechanism of the specified allocator to supply memory.
NullableAllocatedValue(
bsl::nullopt_t const& nullopt,
bsl::allocator<char> const& allocator);
» more...
| Name | Description |
|---|---|
| original | source nullable used to initialize this object |
| value | value used to initialize this object |
| nullopt | disengaged-optional tag; value is unused |
| allocator | allocator used to supply memory |