#include <iostream>
#include <unordered_set>
using std::unordered_set;
using std::cout;
using std::endl;
void print(const unordered_set<int>& usset)
{
for (const auto& element : usset) {
cout << element << endl;
}
std::cout << std::endl;
}
int main()
{
unordered_set<int> usset = { 7, 2, 8, 99, 18 };
usset.insert({ 700, 600, 900 });
print(usset);
return 0;
}
/*
run:
7
600
18
2
8
99
700
900
*/