Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 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.
Syntax
template<class _RanIt> inline
void sort(_RanIt _First, _RanIt _Last);
template<class _RanIt, class _Pr> inline
void sort(_RanIt _First, _RanIt _Last, _Pr _Pred);
Remarks
This function behaves the same as the STL function sort
. For more information, see sort.
Requirements
Header: <cliext/algorithm>
Namespace: cliext