std::random_device::max(3)

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

okay bestie, welcome to the std::random_device::max(3) page from the C++ Standard Libary manual πŸ’– this one is short and sweet, and yes it ate.

🌸 NAME 🌸

std::random_device::max β€” std::random_device::max, literally the name twice, iconic πŸ’…

✨ Synopsis ✨

static constexpr result_type max();  (since C++11)

Returns the maximum value potentially generated by the random-number engine. This value is equal to std::numeric_limits<unsigned int>::max(), fr fr ✨

πŸŽ€ Parameters πŸŽ€

(none) β€” no parameters, not a single one, periodt πŸ™ˆ

πŸ’– Return value πŸ’–

The maximum potentially generated value. That's the whole return vibe πŸ’–

πŸ¦‹ Complexity πŸ¦‹

Constant. no cap πŸ¦‹

πŸ‘‘ See also πŸ‘‘

  • min β€” gets the smallest possible value in the output range Β· [static] Β· (C++11) Β· (public static member function) πŸ‘‘

footer cuteness: source http://cppreference.com, date 2024.06.10, page std::random_device::max(3) β€” bye bestie, mwah πŸ’‹

πŸ“¦ where this page comes from