Constructors
Declared in <bdlma_countingallocator.h>
Create a counting allocator.
explicit
CountingAllocator(bslma::Allocator* basicAllocator = 0);
» more...
See the overload above for contract.
explicit
CountingAllocator(
char const* name,
bslma::Allocator* basicAllocator = 0);
» more...
| Name | Description |
|---|---|
| basicAllocator | memory allocator; null uses the default |
| name | optional name included in print output; null for none |