iterating a set from end in c++ code example Example: iterating a set c++ //Given set s for(auto it: s){ cout << it << endl; }