powered by
Reverses the order of the elements in the container by reference.
reverse(x)
Invisibly returns NULL.
NULL
A CppForwardList or CppList object.
l <- cpp_forward_list(4:9) l # 4 5 6 7 8 9 reverse(l) l #
Run the code above in your browser using DataLab