Release the managed object and reset this proctor to manage a different object.

Synopsis

Declared in <bslma_deleteobjectproctor.h>

void
reset(PtrType p);

Description

Release the managed object and reset this proctor to manage the specified p object. If p is null, the proctor will be disengaged. Note that the previously managed object is not destroyed or deallocated.

Parameters

Name

Description

p

object to manage, or null

Created with MrDocs