Skip to content

Latest commit

 

History

History
56 lines (50 loc) · 1.36 KB

stable-partition-stl-clr.md

File metadata and controls

56 lines (50 loc) · 1.36 KB
title stable_partition (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_partition
dev_langs
C++
helpviewer_keywords
stable_partition function [STL/CLR]
ms.assetid b82c194c-ae38-4afb-b255-a95a4c2b3101
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_partition (STL/CLR)

Classifies elements in a range into two disjoint sets, with those elements satisfying a unary predicate preceding those that fail to satisfy it, preserving the relative order of equivalent elements.

Syntax

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

Remarks

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

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)