Create a default deleter.

Synopsis

Declared in <bdlma_defaultdeleter.h>

DefaultDeleter(bslma::Allocator* basicAllocator = 0);

Description

Optionally specify a basicAllocator used to manage the memory footprint of objects passed to the deleteObject method. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

basicAllocator

memory allocator; null uses the default

Created with MrDocs