Skip to content

Latest commit

 

History

History
60 lines (54 loc) · 1.52 KB

File metadata and controls

60 lines (54 loc) · 1.52 KB
title partial_sort_copy (STL/CLR) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic reference
f1_keywords
cliext::partial_sort_copy
dev_langs
C++
helpviewer_keywords
partial_sort_copy function [STL/CLR]
ms.assetid ed4af83e-7554-4f6d-bf54-c56fa6210fe8
caps.latest.revision 4
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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 C++ Standard Library function partial_sort_copy. For more information, see partial_sort_copy.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)