Create a CompactedArray_CountedValue with value and count.
Declared in <bdlc_compactedarray.h>
CompactedArray_CountedValue(
TYPE const& value,
std::size_t count,
bslma::Allocator* basicAllocator);
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.
| Name | Description |
|---|---|
| value | stored object value |
| count | initial reference count |
| basicAllocator | allocator used to supply memory |