#includestd::set s; // Empty set of integers
s.insert(5); s.insert(10); s.insert(1);
if (s.count(5) > 0) { std::cout << "Set contains 5." << std::endl; } else { std::cout << "Set does not contain 5." << std::endl; }
s.erase(10);
for (auto it = s.begin(); it != s.end(); it++) { std::cout << *it << std::endl; }The C++ Set container is part of the Standard Template Library (STL) and is included in the \