Method |
Description |
---|
AcArray::append () |
Return a reference to the new last element.This function doesn't take a value argument, so the new element is assigned a default value, if any.Allows clients to append an item and reference it in one statement, as in:pFiler->readDouble(&mWidths.append()); |
AcArray::append (AcArray<T,R>&) |
This function appends the otherArray to the end of this array. The logical length of this array will increase by the length of the otherArray. If the physical length is not long enough, it will increase by the amount necessary to fit the newly added elements (with the usual caveat about insufficient memory, as described in the Overview). |
AcArray::append (T&) |
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. |
AcArray::append (T&&) |
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.Note: Adds array-elements with move semantics. |