Create an empty block list for managing memory blocks of varying sizes.

Synopsis

Declared in <bdlma_infrequentdeleteblocklist.h>

explicit
InfrequentDeleteBlockList(bslma::Allocator* basicAllocator = 0);

Description

Create an empty block list suitable for managing memory blocks of varying sizes. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

basicAllocator

memory allocator; null uses the default

Created with MrDocs