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

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

NAME πŸ’–

Okay bestie, the name is std::uniform_int_distribution::max β€” and the NAME line is literally std::uniform_int_distribution::max - std::uniform_int_distribution::max, because she said it twice and ate. This page comes from the manual named C++ Standard Libary (yes, that spelling is exactly what the header says, no cap), and the page header is std::unifor...bution::max(3).


Synopsis ✨

Here's the signature, copied exactly so nobody comes for me:

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

This one returns the maximum value potentially generated by the distribution. The (since C++11) is the little timestamp that says when she entered the chat.

Parameters πŸŽ€

(none) β€” literally no parameters. She takes nothing, she gives maximum-value energy. Periodt.

Return value πŸ’…

The maximum value potentially generated by the distribution. That's the whole return value, bestie β€” she's not doing extra.

Complexity ⭐

Constant. Lowkey effortless, highkey iconic.

See also 🫢

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

mwah πŸ’‹ this cutie came from http://cppreference.com, version/date 2024.06.10, with the footer label std::unifor...bution::max(3). πŸ¦‹

πŸ“¦ where this page comes from