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

Constructors

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/CompactedArray_CountedValue/2constructor-0e.adoc[CompactedArray&lowbar;CountedValue](
    xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray&lowbar;CountedValue&lt;TYPE&gt;] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator);
----

[.small]#xref:BloombergLP/bdlc/CompactedArray_CountedValue/2constructor-0e.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:BloombergLP/bdlc/CompactedArray_CountedValue/2constructor-07.adoc[_» more&period;&period;&period;_]#


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