BloombergLP::bdld::ManagedDatum::ManagedDatum

Create a ManagedDatum object having the same value as the specified original object. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) used to supply memory; otherwise, the default allocator is used. This operation performs a clone of the underlying Datum, see {Value Semantics} for more detail.

Synopsis

Declared in <bdld_manageddatum.h>

ManagedDatum(
    ManagedDatum const& original,
    allocator_type const& allocator = allocator_type());