Create a ManagedDatum object having the same value as the specified original object.
Synopsis
Declared in <bdld_manageddatum.h>
ManagedDatum(
ManagedDatum const& original,
allocator_type const& allocator = allocator_type());
Description
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.
Parameters
Name |
Description |
original |
object providing the value |
allocator |
allocator used to supply memory |
Created with MrDocs