#include <set> int main() { set<int> my_set = {1, 2, 3, 4}; for (int i = 0; i < 4; i++) { cout << my_set[i] << endl; } }