std::discre...ution::reset(3)
π 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
- 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