C++
AcArray<T,R>& appendMove( AcArray<T,R>& otherArray );
Description
Move other array's elements to end of this array.
If this array is empty, then just take over the other array's buffer and size info, leaving the other array empty.
Otherwise, move or copy the other array's elements to the end of this array, leaving the other array with its original length but with its element possibly "empty".
Parameters
Parameters | Description |
---|---|
otherArray | Input another array of the same type to be moved to the end of this array |