BloombergLP::bslma::ManagedPtr_DefaultDeleter

This struct provides a function-like managed pointer deleter that invokes delete with the passed pointer.

Synopsis

Declared in <bslma_managedptr.h>

template<class MANAGED_TYPE>
struct ManagedPtr_DefaultDeleter;

Static Member Functions

NameDescription
deleter Cast the specified ptr to (template parameter) type MANAGED_TYPE *, and then call delete with the cast pointer.