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

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

πŸŽ€ std::piecew...ution::reset(3) πŸŽ€

Okay bestie, welcome to the C++ Standard Libary manual ✨ (yes, that's the manual name up top, iykyk πŸ’…). We're talking about std::piecewise_constant_distribution::reset, and it's literally the reset button for your distribution object.


🌸 NAME 🌸

  • std::piecewise_constant_distribution::reset β€” std::piecewise_constant_distribution::reset

πŸ“œ Synopsis πŸ“œ

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

This 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() 🫢.


🧚 Parameters 🧚

  • (none) β€” no arguments, no stress, no cap πŸ’–

πŸŽ€ Return value πŸŽ€

  • (none) β€” it returns nothing, it just does the reset vibe ✨

⭐ Complexity ⭐

  • Constant. β€” quick little icon behavior, periodt πŸ’…

Big kiss goodbye from the source/version tea: http://cppreference.com, dated 2024.06.10 πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from