random_shuffle (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 random_shuffle (STL/CLR).
Rearranges a sequence of N elements in a range into one of N! possible arrangements selected at random.
template<class _RanIt> inline
void random_shuffle(_RanIt _First, _RanIt _Last);
template<class _RanIt, class _Fn1> inline
void random_shuffle(_RanIt _First, _RanIt _Last, _Fn1% _Func);
This function behaves the same as the STL function random_shuffle. For more information, see random_shuffle.
Header: <cliext/algorithm>
Namespace: cliext
Show: