vector<std::initializer_list<int>> vec = { {0, 1}, {2, 3}, {3, 5}, }; for (auto const & e : vec) std::cout << *e.begin();