Set the (signed) length of the managed memory-block sequence.
Declared in <bslma_autodeallocator.h>
void
setLength(int length);
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.
| Name | Description |
|---|---|
| length | The signed length of the managed memory block sequence. |