Share

AcArray::AcArray

C++

explicit AcArray(
    int initPhysicalLength = 0, 
    int initGrowLength = 8
);

Description

This constructor is supplied with default values for both the initial physical length and the initial grow length. (Initially, the logical length of the array is always zero.)

If the system cannot allocate enough memory to satisfy the request for a non-zero physical length, then it is assumed that the entire system is in a dangerously low memory situation, and that there is no alternative but to have the system gracefully abort.

Note: There is no guarantee that the values contained in the array (for a non-zero physical length) are initialized to anything but garbage values. This means, do not count on the array being initialized to "zero" or otherwise cleared.

The physicalLength argument must be greater than or equal to zero and the growLength argument must be greater than zero.

Parameters

Parameters Description
physicalLength Input initial physical length
growLength Input initial grow length

Links

AcArray

Previous Declaration

AcArray(int initPhysicalLength = 0, int initGrowLength = 8);

Was this information helpful?