partial_sort_copy « STL Algorithms Sorting « C++






1.Use partial_sort_copy to copy elements in one container sorted into another container
2.Use partial_sort_copy with custom comparison function to copy elements in one container sorted into another container