std::shuffl...ne::discard(3)
π
std::shuffl...ne::discard(3) π
okay so this is literally the std::shuffl...ne::discard(3) page from the C++ Standard Libary manual β yes bestie, βLibaryβ is spelled like that up top, and we respect the typo π«Ά. Itβs giving βadvance the state and move onβ energy.
πΈ NAME πΈ
std::shuffle_order_engine::discard - std::shuffle_order_engine::discard
β¨ Synopsis β¨
void discard( unsigned long long z ); (since C++11)
So bestie, this one advances the internal state by z times. Itβs equivalent to calling operator() z times and discarding the result. Important vibe check: the state of the underlying engine may be advanced by more than z times. Like, do not assume exactly z, okay? Thatβs literally the rule.
π Parameters π
zβ integer value specifying the number of times to advance the state by
π¦ Return value π¦
(none) β not a single thing comes back π
π Exceptions π
Throws nothing. Sheβs unbothered, no exceptions, no drama β¨
π₯ See also π₯
operator()β advances the state of the underlying engine and returns the generated value (public member function) (C++11)
mwah π source/version and date: http://cppreference.com Β· 2024.06.10 β this is the std::shuffl...ne::discard(3) page, and weβre out π¦π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms