partial_sort_copy (STL/CLR)
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at partial_sort_copy (STL/CLR).
Copies elements from a source range into a destination range where the source elements are ordered by either less than or another specified binary predicate.
Syntax
template<class _InIt, class _RanIt> inline
_RanIt partial_sort_copy(_InIt _First1, _InIt _Last1,
_RanIt _First2, _RanIt _Last2);
template<class _InIt, class _RanIt, class _Pr> inline
_RanIt partial_sort_copy(_InIt _First1, _InIt _Last1,
_RanIt _First2, _RanIt _Last2, _Pr _Pred);
Remarks
This function behaves the same as the STL function partial_sort_copy
. For more information, see partial_sort_copy.
Requirements
Header: <cliext/algorithm>
Namespace: cliext