print_set:(set)={forsetdo(elem){std::cout<<"(elem)$ ";}std::cout<<'\n';}main:()={mySet:std::unordered_set=(2,7,1,8,2,8);// creates a set of intsprint_set(mySet);mySet.insert(5);// puts an element 5 in the setprint_set(mySet);(iter:=mySet.find(5))ifiter!=mySet.end(){mySet.erase(iter);// removes an element pointed to by iter}print_set(mySet);mySet.erase(7);// removes an element 7print_set(mySet);}