std::extrem...tion::reset(3)

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

πŸ’– NAME πŸ’–

Okay so this is the std::extreme_value_distribution::reset(3) page from the C++ Standard Libary manual, bestie. (Yes, β€œLibary” β€” the header spells it like that, and I’m not fixing it, I’m just clocking it πŸ™ˆ.) The header also shortens the title to std::extrem...tion::reset(3), which is very β€œname tag sticker ran out of room” energy.

The NAME line itself is literally:

std::extreme_value_distribution::reset - std::extreme_value_distribution::reset

So it’s that girl introducing herself twice. Iconic. πŸ‘‘

✨ Synopsis ✨

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

This one’s been around since C++11. πŸ’…

Calling 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(). It’s giving fresh-start, no-baggage, clear-the-group-chat energy. ✨

🌸 Parameters 🌸

(none) β€” no parameters. Zero. Nada. Not a single one. 🫢

πŸŽ€ Return value πŸŽ€

(none) β€” it returns nothing. Lowkey mysterious, highkey useful. 😭

πŸ”₯ Complexity πŸ”₯

Constant. No scaling drama, just constant. Periodt. πŸ’€


Source: http://cppreference.com β€” version/date: 2024.06.10. Cute sign-off: stay fresh, bestie, and remember β€” reset your internal state, not your whole personality. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from