Quote Originally Posted by lab1
What is the simplest code to use to "flip" an std::vector? The last element is the first and so on...
std::reverse if of course right, but there is hardly ever a need for reversing a vector, because you can iterate a vector back to front as well as front to back. So why waste CPU time on reversing it?