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