how to make a reverse vector in c++ code example Example: std::reverse std::vector<int> v{1,2,3}; std::reverse(std::begin(v), std::end(v));