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

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

Hii bestie πŸ’– welcome to the std::uniform_real_distribution::max page β€” this lives in the C++ Standard Libary manual under the page name std::unifor...ibution::max(3). Yes, the typo in β€œLibary” is canon, no cap.

πŸŽ€ NAME πŸŽ€

std::uniform_real_distribution::max β€” std::uniform_real_distribution::max

It’s giving β€œsame thing on both sides of the dash,” and honestly? Iconic.


✨ Synopsis ✨

Here’s the signature, bestie:

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

Returns the maximum value potentially generated by the distribution. That’s the whole plot 🫢.

🌸 Parameters 🌸

  • (none) β€” zero parameters, nada, not a single one πŸ’….

πŸ’– Return value πŸ’–

The maximum value potentially generated by the distribution. Periodt.

πŸ¦‹ Complexity πŸ¦‹

Constant. That’s it, that’s the complexity β€” lowkey effortless 🌈.

πŸ‘‘ See also πŸ‘‘

  • min β€” returns the minimum potentially generated value (C++11) (public member function) ✨.

Sign-off time, bestie πŸŽ€: source/version is http://cppreference.com, date is 2024.06.10, and the page is std::unifor...ibution::max(3). Bye bye, slay responsibly πŸ’œπŸ’…

πŸ“¦ where this page comes from