Create a copy of original that uses the specified allocator.
Declared in <bdlb_nullablevalue.h>
NullableValue(
NullableValue const& original,
allocator_type const& allocator);
Create a nullable object that has the value of the specified original object and 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.
| Name | Description |
|---|---|
| original | object providing the initial value |
| allocator | allocator used to supply memory |