Inserting values in a multiset

suggest change

All 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);

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents