Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 1.4 KB

File metadata and controls

58 lines (52 loc) · 1.4 KB
title stable_sort (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::stable_sort
dev_langs
C++
helpviewer_keywords
stable_sort function [STL/CLR]
ms.assetid c28fc2df-c68b-4923-ac16-9f8edd926fbb
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

stable_sort (STL/CLR)

Arranges the elements in a specified range into a nondescending order or according to an ordering criterion specified by a binary predicate and preserves the relative ordering of equivalent elements.

Syntax

template<class _BidIt> inline  
    void stable_sort(_BidIt _First, _BidIt _Last);  
template<class _BidIt, class _Pr> inline  
    void stable_sort(_BidIt _First, _BidIt _Last, _Pr _Pred);  

Remarks

This function behaves the same as the C++ Standard Library function stable_sort. For more information, see stable_sort.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)