std::subtra...engine::max(3)
π NAME π
okay so we're on the std::subtract_with_carry_engine::max page from the C++ Standard Libary manual, and the header is literally out here calling itself std::subtra...engine::max(3) because it ran out of vowel energy ππ
.
std::subtract_with_carry_engine::max β std::subtract_with_carry_engine::max. that's the name, bestie, no notes.
π¦ Synopsis π¦
the whole signature is giving main character energy since C++11:
static constexpr result_type max(); (since C++11)
it returns the maximum value potentially generated by the random-number engine. this value is equal to 2w - 1, where w is the template parameter also accessible as static member word_size β¨.
π Parameters π
none. literally none. the parameter list is empty, fr fr π«Ά.
β¨ Return value β¨
the maximum potentially generated value, periodt π.
πΈ Complexity πΈ
constant. no cap.
π₯ See also π₯
minβ gets the smallest possible value in the output range[static](C++11)(public static member function)π
mwah π source/version check: http://cppreference.com, dated 2024.06.10, filed under std::subtra...engine::max(3). that's the cute little footer sign-off β now go max responsibly, bestie πβ¨
π¦ 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