BloombergLP::bdld::ManagedDatum::clone

Assign to this object a deep copy of the specified value.

Synopsis

Declared in <bdld_manageddatum.h>

void
clone(Datum const& value);

Description

Assign to this object the specified value by making a "deep copy" of value, so that any dynamically allocated memory managed by value is cloned and not shared with value.

Parameters

NameDescription
valueDatum value to deep-copy