Namespaces
Variants
Actions

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

From cppreference.com
 
C++
 
Numerics library
 
Pseudo-random number generation
 
std::shuffle_order_engine
void discard( unsigned long z );
(since C++11)

Advances the internal state by z times. Equivalent to calling operator() z times and discarding the result. The state of the underlying engine may be advanced by more than z 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

advances the state of the underlying engine and returns the generated value
(public member function) [edit]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant