Create a proctor to manage the specified p object, which has been allocated from the specified allocator. If p is null, then the created proctor is disengaged (manages no object). The behavior is undefined if p is non‐null but not allocated from allocator.

Synopsis

Declared in <bslma_deleteobjectproctor.h>

DeleteObjectProctor(
    ALLOCATOR const& allocator,
    PtrType p);

Created with MrDocs