24 Ranges library [ranges]

24.7 Range adaptors [range.adaptors]

24.7.11 Reverse view [range.reverse]

24.7.11.1 Overview [range.reverse.overview]

reverse_­view takes a bidirectional View and produces another View that iterates the same elements in reverse order.
[Example
:
vector<int> is {0,1,2,3,4};
reverse_view rv {is};
for (int i : rv)
  cout << i << ' '; // prints: 4 3 2 1 0
end example
]