Constructors

Synopses

Declared in <bdlc_compactedarray.h>

Create a CompactedArray_CountedValue having the same underlying object value and reference count as the specified original object. The specified basicAllocator is used to supply memory. The behavior is undefined unless 0 != 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.

CompactedArray_CountedValue(
    TYPE const& value,
    std::size_t count,
    bslma::Allocator* basicAllocator);

Created with MrDocs