Set the (signed) length of the managed object sequence.

Synopsis

Declared in <bslma_autodestructor.h>

void
setLength(int length);

Description

Set the (signed) length of the sequence of objects managed by this range proctor to the specified length. The behavior is undefined unless the origin of this range proctor is non‐zero.

Parameters

Name

Description

length

Signed length of the managed object sequence.

Created with MrDocs