BloombergLP::bslma::DeleteObjectProctor::DeleteObjectProctor

Constructors

Synopses

Declared in <bslma_deleteobjectproctor.h>

This move constructor creates a proctor managing the same object as original. After the move, original is disengaged.

DeleteObjectProctor(bslmf::MovableRef<DeleteObjectProctor> original);
» more...

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.

DeleteObjectProctor(
    ALLOCATOR const& allocator,
    PtrType p);
» more...