[#BloombergLP-balm-MetricFormat-2constructor-0d6] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricFormat.adoc[MetricFormat]::MetricFormat :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balm_metricformat.h>` Create an empty metric format object. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. Note that `formatSpec` will return 0 for all supplied publication types. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/MetricFormat/2constructor-0b.adoc[MetricFormat](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balm/MetricFormat/2constructor-0b.adoc[_» more..._]# Create a metric format object having the same value as the specified `original` format. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/MetricFormat/2constructor-0dd.adoc[MetricFormat]( xref:BloombergLP/balm/MetricFormat.adoc[MetricFormat] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balm/MetricFormat/2constructor-0dd.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#