std::discre...ution::reset(3)

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

πŸ’– std::discre...ution::reset(3) πŸ’–

okay so this page is from the C++ Standard Libary manual β€” yes, β€œLibary,” that's the spelling in the header, leave it alone πŸ’… β€” and the header title is the truncated std::discre...ution::reset(3) situation 😭. The actual function is std::discrete_distribution::reset, and that's the main character of this page, no cap.

🌸 NAME 🌸

std::discrete_distribution::reset - std::discrete_distribution::reset

yep, the NAME line repeats it exactly like that. iconic. no notes. πŸ’–

✨ Synopsis ✨

void reset();  (since C++11)

It resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator(). So the next call is not haunted by the old calls β€” clean slate energy ✨

πŸ¦‹ Parameters πŸ¦‹

(none) β€” literally not a single parameter, bestie 🫢

πŸŽ€ Return value πŸŽ€

(none) β€” it returns nothing, void vibes only πŸ’€

πŸ”₯ Complexity πŸ”₯

Constant. β€” that's the whole complexity, periodt 🌈


okay that's the page, brought to you by the C++ Standard Libary manual, straight from http://cppreference.com, dated 2024.06.10, and the footer still says std::discre...ution::reset(3) β€” mwah πŸ’‹

πŸ“¦ where this page comes from