random_shuffle

Rearranges a sequence of N elements in a range into one of N! possible arrangements selected at random.

template<class RandomAccessIterator> 
   void random_shuffle( 
      RandomAccessIterator _First,  
      RandomAccessIterator _Last 
   ); 
template<class RandomAccessIterator, class RandomNumberGenerator> 
   void random_shuffle( 
      RandomAccessIterator _First,  
      RandomAccessIterator _Last,  
      RandomNumberGenerator& _Rand 
   );

 

相关文章:

  • 2021-07-03
猜你喜欢
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2021-04-15
相关资源
相似解决方案