Create a CompactedArray_CountedValue with value and count.

Synopsis

Declared in <bdlc_compactedarray.h>

CompactedArray_CountedValue(
    TYPE const& value,
    std::size_t count,
    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

Name

Description

value

stored object value

count

initial reference count

basicAllocator

allocator used to supply memory

Created with MrDocs