Function‐like deleter that deletes a pointer with delete or delete[].
Synopsis
Declared in <bslstl_sharedptr.h>
template<bool>
struct SharedPtr_DefaultDeleter;
Description
This struct provides a function‐like shared pointer deleter that invokes delete with the passed pointer. If the template parameter is true, then the pointer is deleted using operator delete []. Otherwise, it is deleted using operator delete.
Member Functions
Name |
Description |
Call |
Specializations
Name |
Description |
Function‐like deleter that deletes a pointer with |
|
Function‐like deleter that deletes a pointer with |
Created with MrDocs