Constructors
Synopses
Declared in <bdlc_compactedarray.h>
Create an empty CompactedArray. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
explicit
CompactedArray(bslma::Allocator* basicAllocator = 0);
Create a CompactedArray having the same value as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
CompactedArray(
CompactedArray const& original,
bslma::Allocator* basicAllocator = 0);
Create a CompactedArray having the specified numElements. Optionally specify a value to which each element will be set. If value is not specified, TYPE() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
explicit
CompactedArray(
std::size_t numElements,
TYPE const& value = TYPE(),
bslma::Allocator* basicAllocator = 0);
Created with MrDocs