Provide a default concrete implementation of the Deleter protocol.
Declared in <bdlma_defaultdeleter.h>
template<class TYPE>
class DefaultDeleter
: public Deleter<TYPE>
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.
| Name | Description |
|---|---|
Deleter<TYPE> | Provide a protocol (or pure interface) for a thread-safe object deleter. |
| Name | Description |
|---|---|
DefaultDeleter [constructor] | Create a default deleter. |
~DefaultDeleter [destructor] [virtual] | Destroy this default deleter. |
deleteObject [virtual] | Destroy the specified instance and release its memory. |