Set the (signed) length of the managed memory‐block sequence.

Synopsis

Declared in <bslma_autodeallocator.h>

void
setLength(int length);

Description

Set the (signed) length of the sequence of memory blocks 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

The signed length of the managed memory block sequence.

Created with MrDocs