[#BloombergLP-bdlc-CompactedArray_CountedValue-2constructor-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray_CountedValue]::CompactedArray_CountedValue :relfileprefix: ../../../ :mrdocs: Create a `CompactedArray_CountedValue` with `value` and `count`. == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CompactedArray_CountedValue( TYPE const& value, std::size_t count, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- == Description Create a `CompactedArray_CountedValue` having the specified `value` and reference `count`. The specified `basicAllocator` is used to supply memory. The behavior is undefined unless `0 != basicAllocator`. == Parameters [cols="1,4"] |=== | Name| Description | *value* | stored object value | *count* | initial reference count | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#