Код: Выделить всё
std::unordered_multiset set({1, 2});
set.insert(set.begin(), set.end());
for(int x: set)
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79899302/calling-insert-inputit-first-inputit-last-for-assotiative-containers-with[/url]
Мобильная версия