[#BloombergLP-balm-MetricSample-2constructor-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricSample.adoc[MetricSample]::MetricSample :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balm_metricsample.h>` Create an empty metric sample. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/MetricSample/2constructor-0e.adoc[MetricSample](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balm/MetricSample/2constructor-0e.adoc[_» more..._]# Create a copy of the specified `original` metric sample. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/MetricSample/2constructor-07.adoc[MetricSample]( xref:BloombergLP/balm/MetricSample.adoc[MetricSample] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balm/MetricSample/2constructor-07.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | memory allocator; null uses the default | *original* | sample to copy |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#