std::unifor...bution::max(3)
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
- 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