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

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

πŸ’– NAME πŸ’–

Okay bestie, this is the std::uniform_real_distribution::reset page from the C++ Standard Libary manual β€” yes, β€œLibary,” that’s the header’s spelling, and honestly? iconic typo behavior πŸ’€. The page title up top is std::unifor...ution::reset(3) because the middle got eaten by the truncation goblin, but the function we’re talking about is literally std::uniform_real_distribution::reset. The NAME line is std::uniform_real_distribution::reset - std::uniform_real_distribution::reset, which is a very β€œI have one name and it’s the same name” situation πŸ’…. Periodt.

✨ Synopsis ✨

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

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(). No cap β€” it’s giving fresh start, main character energy 🌈.

πŸŽ€ Parameters πŸŽ€

  • (none) β€” literally nothing to pass in, bestie 🫢

πŸ¦‹ Return value πŸ¦‹

  • (none) β€” it returns nothing; the reset is the whole moment πŸ’…

🌸 Complexity 🌸

Constant. As in constant-time behavior, no scaling drama, no long story, just slay ✨.


Cute sign-off: sourced from http://cppreference.com, dated 2024.06.10 β€” mwah πŸ’‹, go reset your distribution and live your truth πŸŽ€.

πŸ“¦ where this page comes from