Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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.
Syntax
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);
Remarks
This function behaves the same as the STL function random_shuffle. For more information, see random_shuffle.
Requirements
Header: <cliext/algorithm>
Namespace: cliext