std::indepe...ine::discard(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

std::independent_bits_engine::discard πŸ¦‹

okay bestie, welcome to the std::independent_bits_engine::discard page from the C++ Standard Libary manual β€” yes, that's the manual name folded in right here at the top, and we are so ready to talk about advancing state like it's nobody's business πŸ’….

NAME πŸ’–

  • std::independent_bits_engine::discard - std::independent_bits_engine::discard

SYNOPSIS ✨

void discard( unsigned long long z );  (since C++11)

okay so here's the whole vibe: it advances the internal state by z times. that's it, that's the gig 🫢. it's equivalent to calling operator() z times and discarding the result. and listen: the state of the underlying engine may be advanced by more than z times β€” so don't assume it's exactly z little steps under the hood, bestie 😭.

PARAMETERS πŸ“

  • z β€” integer value specifying the number of times to advance the state by

RETURN VALUE πŸŽ€

(none) β€” literally nothing comes back. it does the advance thing and bounces ✨.

EXCEPTIONS πŸ’€

Throws nothing. zero exceptions, no drama, not even a tiny throw πŸ™ˆ.

SEE ALSO 🌈

  • operator() β€” advances the state of the underlying engine and returns the generated value (C++11) (public member function)

source: http://cppreference.com, date/version: 2024.06.10 β€” mwah, go forth and discard correctly, bestie πŸ’‹πŸ’–

πŸ“¦ where this page comes from