Quick Links: |
#include <bslstl_sharedptr.h>
Public Member Functions | |
template<class ANY_TYPE > | |
void | operator() (ANY_TYPE *ptr) const BSLS_KEYWORD_NOEXCEPT |
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
.
See Component bslstl_sharedptr
void bslstl::SharedPtr_DefaultDeleter< bool >::operator() | ( | ANY_TYPE * | ptr | ) | const |
Call delete
with the specified ptr
.