std::unifor...tion::reset(3)
π NAME π
std::uniform_int_distribution::resetβ that's the name, bestie.std::uniform_int_distribution::resetβ and here it is again. Yes, the NAME section lists it twice; we keep both because details are sacred π .
Okay so welcome to the std::uniform_int_distribution::reset(3) page from the C++ Standard Libary manual. The header had the truncated vibe std::unifor...tion::reset(3), and yes, βLibaryβ is spelled that way in the source β we respect the lore π«Ά.
β¨ Synopsis β¨
void reset(); (since C++11)
So it's void reset();, and it's been around (since C++11). Call this and the distribution object's internal state gets reset. Once you've called this function, the next call to operator() on that distribution object won't depend on any earlier calls to operator(). That's the whole plot, no cap π¦.
π Parameters π
(none) β literally none, bestie. Nothing to pass, nothing to stress about.
πΈ Return value πΈ
(none) β it gives you nothing back, and that's okay. Not every function needs to return a lil gift π.
β Complexity β
Constant. Easy. Slay.
mwah π β source/version: http://cppreference.com, date: 2024.06.10. Bye bestie, go reset something π
π¦ 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