Set the object managed by this proctor.

Synopsis

Declared in <bslma_rawdeleterproctor.h>

void
reset(TYPE* object);

Description

Set the specified object as the object to be managed by this proctor. The behavior is undefined unless object is non‐zero and was allocated from the allocator (or pool) supplied at construction. Note that this method releases any previously‐managed object from management (without deleting it), and so may be invoked with or without having called release when reusing this object.

Parameters

Name

Description

object

Object to manage; must be non‐zero.

Created with MrDocs