| 2 | using namespace std; |
| 3 | |
| 4 | int 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected