stable_partition « STL Algorithms Modifying sequence operations « C++ Tutorial






24.20.stable_partition
24.20.1.Use stable_partition algorithms: preserving relative order in each group
24.20.2.Use stable_partition and partition