MCPcopy Create free account
hub / github.com/0voice/cpp_new_features / main

Function main

cpp_14/001_stl_rbegin.cpp:4–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2using namespace std;
3
4int main()
5{
6 deque<char> dq = { 'a', 'b', 'c', 'd', 'e' };
7
8 cout << "The deque in reverse order: ";
9
10 // prints the elements in reverse order
11 for (auto it = dq.rbegin(); it != dq.rend(); ++it)
12 cout << *it << " ";
13
14 return 0;
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected