[#BloombergLP-balm-MetricDescription-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricDescription.adoc[MetricDescription]::MetricDescription
:relfileprefix: ../../../
:mrdocs:

Create a metric description for the specified `category` and the specified `name`&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period; The initial value for `preferredPublicationType` is `e&lowbar;UNSPECIFIED`, and the initial value for `format` is 0&period; The behavior is undefined unless `name` and `category` remain valid, and the contents of `name` remain unmodified, for the lifetime of this object&period;

== Synopsis

Declared in `&lt;balm&lowbar;metricdescription&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
MetricDescription(
    xref:BloombergLP/balm/Category.adoc[Category] const* category,
    char const* name,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
