std::unifor...ibution::min(3)

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

πŸ’– NAME πŸ’–

okay so bestie, this is the page for std::uniform_real_distribution::min β€” the header is all like std::unifor...ibution::min(3), and it lives in the C++ Standard Libary manual, section (3). That's the whole NAME situation. πŸ’…


✨ Synopsis ✨

The signature is literally this, no cap:

result_type min() const;  (since C++11)

🫢 Parameters 🫢

  • (none) β€” not a single argument, bestie. It takes zero things. πŸ’€

πŸ’… Return value πŸ’…

It returns the minimum value potentially generated by the distribution. That's it. That's the icon behavior. ✨

🧚 Complexity 🧚

Constant β€” lowkey no heavy lifting, just constant complexity. πŸŽ€

πŸ”₯ See also πŸ”₯

  • max β€” returns the maximum potentially generated value. It's marked (C++11) and (public member function). πŸ‘‘

cute sign-off time: source/version vibe from http://cppreference.com, dated 2024.06.10, and yes it's the C++ Standard Libary show πŸ’–βœ¨

πŸ“¦ where this page comes from