Container‐based version of the <algorithm> std::reverse() function to reverse a container's elements.
Synopsis
Declared in <absl/algorithm/container.h>
template<typename Sequence>
constexpr
void
c_reverse(Sequence& sequence);
Parameters
Name |
Description |
sequence |
The container whose elements to reverse. |
Created with MrDocs