[#BloombergLP-bdlc-CompactedArray_CountedValue-2constructor-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray&lowbar;CountedValue]::CompactedArray&lowbar;CountedValue
:relfileprefix: ../../../
:mrdocs:

Create a `CompactedArray&lowbar;CountedValue` having the specified `value` and reference `count`&period; The specified `basicAllocator` is used to supply memory&period; The behavior is undefined unless `0 !&equals; basicAllocator`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;compactedarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CompactedArray&lowbar;CountedValue(
    TYPE const& value,
    std::size&lowbar;t count,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator);
----


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