Share

AcArray::reverse

C++

AcArray<T,R>& reverse();

Description

This function reverses the order of the array. For example, consider two arrays: a and b. If you assign a = b and call a.reverse(), then a[0] == b[n], a[1] == b[n-1], ... a[n] == b[0]. (Where n = a.length() -1).

Links

AcArray

Was this information helpful?