C++
int append( const T& value );
Description
This function appends value to the end of the array. The logical length will increase by one. If the physical length is not long enough, it will increase in size by the grow length (with the usual caveat about insufficient memory, as described in the Overview). This function returns the index of the new last element.
Parameters
Parameters | Description |
---|---|
value | Input value of appropriate type |