stable_partition (STL/CLR)
Visual Studio 2015
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 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.
template<class _BidIt, class _Pr> inline
_BidIt stable_partition(_BidIt _First, _BidIt _Last, _Pr _Pred);
This function behaves the same as the STL function stable_partition. For more information, see stable_partition.
Header: <cliext/algorithm>
Namespace: cliext
Show: