BloombergLP::bdld::ManagedDatum::ManagedDatum

Constructors

Synopses

Declared in <bdld_manageddatum.h>

Create a ManagedDatum object having the default (null) value.

ManagedDatum();
» more...

Create a ManagedDatum object having the same value and allocator as the specified original object.

ManagedDatum(bslmf::MovableRef<ManagedDatum> original);
» more...

Create a ManagedDatum object having the default (null) value and using the specified allocator to supply memory.

explicit
ManagedDatum(allocator_type const& allocator);
» more...

Create a ManagedDatum object having the same value as the specified original object and the specified allocator.

ManagedDatum(
    bslmf::MovableRef<ManagedDatum> original,
    allocator_type const& allocator);
» more...

Create a ManagedDatum object that assumes ownership of the specified datum.

explicit
ManagedDatum(
    Datum const& datum,
    allocator_type const& allocator = allocator_type());
» more...

Create a ManagedDatum object having the same value as the specified original object.

ManagedDatum(
    ManagedDatum const& original,
    allocator_type const& allocator = allocator_type());
» more...

Parameters

NameDescription
originalobject providing the value
allocatorallocator used to supply memory
datumDatum object whose ownership is assumed