[Cs3] Set stability/sorting stability

Mikhail Nesterenko mikhail at cs.kent.edu
Wed Oct 12 16:40:56 EDT 2016


> In the set, which element is picked from the sets?

Okay, the specification does not say whether set operations are
stable.

Neither does not specify sorting algorithm stability. However, there
is a separate

   std::stable_sort() 

that guarantees stability

Thanks,
--
Mikhail


More information about the cs3 mailing list