BloombergLP::bslma::AutoDestructor::reset

Set the specified origin of the sequence of objects managed by this range proctor. This method does not destroy the previously-managed objects or affect the length of the sequence managed. The behavior is undefined unless origin is non-zero. Note that reset can be called without having previously called release provided that length is set appropriately before this proctor could be destroyed (e.g., via a thrown exception).

Synopsis

Declared in <bslma_autodestructor.h>

void
reset(TYPE* origin);