I would like to know if there is any std library or boost tool to easily merge the contents of multiple sets into a single one.
In my case I have some sets of ints w
You can do something like:
std::set s1; std::set s2; // fill your sets s1.insert(s2.begin(), s2.end());