Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.06 KB

File metadata and controls

38 lines (32 loc) · 1.06 KB
title 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::partition
dev_langs
C++
helpviewer_keywords
partition function [STL/CLR]
ms.assetid 3f551eb3-31ec-4b1d-b585-07718d6a1bd7
caps.latest.revision 4
author mikeblome
ms.author mblome
manager ghogen

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.

Syntax

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

Remarks

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

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)