powered by
Add an element to the front of a container by reference.
push_front(x, value)
Invisibly returns NULL.
NULL
A CppDeque, CppForwardList, or CppList object.
A value to add to x.
x
emplace_front, front, insert, pop_front, push_back.
d <- cpp_deque(4:6) d # 4 5 6 push_front(d, 14L) d # 14 4 5 6
Run the code above in your browser using DataLab