Delete the specified ptr using the specified deleter.

Synopsis

Declared in <bslma_sharedptroutofplacerep.h>

template<
    class TYPE,
    class DELETER>
static
void
deleteObject(
    TYPE* ptr,
    DELETER& deleter);

Parameters

Name

Description

ptr

address of the shared object to delete

deleter

deleter used to destroy ptr

Created with MrDocs