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

Name

Description

value

Datum value to deep‐copy

Created with MrDocs