Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::shuffle_order_engine<Engine,K>::discard

      From cppreference.com
      <cpp‎ |numeric‎ |random‎ |shuffle order engine

      [edit template]
       
       
       
      Pseudo-random number generation
       
       
      void discard(unsignedlonglong z);
      (since C++11)

      Advances the internal state byz times. Equivalent to callingoperator()z times and discarding the result. The state of the underlying engine may be advanced by more thanz times.

      Contents

      [edit]Parameters

      z - integer value specifying the number of times to advance the state by

      [edit]Return value

      (none)

      [edit]Exceptions

      Throws nothing.

      [edit]See also

      (C++11)
      advances the state of the underlying engine and returns the generated value
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/numeric/random/shuffle_order_engine/discard&oldid=132173"

      [8]ページ先頭

      ©2009-2025 Movatter.jp