Let's say I have an unordered_set<int> S.
I know I can iterate through S with:
void iterate(){
for (const auto& elem: S) {
cout<<elem<<endl;
}
}
My question is: if I call iterate() and it prints a certain sequence of numbers, is it guaranteed that if I call iterate() as many times as I want, it will always print the same sequence?