This class provides a default concrete implementation of the Deleter protocol. Instances of DefaultDeleter<TYPE> either use an allocator optionally supplied at construction, or the currently installed default allocator if an allocator is not provided.
Synopsis
Declared in <bdlma_defaultdeleter.h>
template<class TYPE>
class DefaultDeleter
: public Deleter<TYPE>
Base Classes
Name |
Description |
Provide a protocol (or pure interface) for a thread‐safe object deleter. |
Member Functions
Name |
Description |
|
Create a default deleter. Optionally specify a |
|
Destroy this default deleter. |
|
Destroy the specified |
Created with MrDocs