Inserting values in a multiset
suggest changeAll the insertion methods from sets also apply to multisets. Nevertheless, another possibility exists, which is providing an initializer_list:
auto il = { 7, 5, 12 };
std::multiset<int> msut;
msut.insert(il);
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents