std::random_device::min(3)

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

πŸ’– NAME πŸ’–

okay so bestie, this is the std::random_device::min(3) page from the C++ Standard Libary manual, and it's literally about std::random_device::min. The title is std::random_device::min(3), and yes, it said the name twice with main character energy. πŸ’…


πŸ¦‹ Synopsis πŸ¦‹

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

Returns the minimum value potentially generated by the random-number engine. This value is equal to 0u. no cap, that's the whole vibe. ✨

🌸 Parameters 🌸

(none) β€” not a single argument, bestie. It's giving empty group chat. πŸ™ˆ

πŸŽ€ Return value πŸŽ€

The minimum potentially generated value. That's the answer, periodt. πŸ’–

⭐ Complexity ⭐

Constant. Quick, cute, not a whole saga. πŸ’€

πŸ‘‘ See also πŸ‘‘

  • max β€” gets the largest possible value in the output range [static] (C++11) (public static member function).

mwah πŸ’‹ β€” source and date, since you asked: this gem is from http://cppreference.com, dated 2024.06.10, and it's the std::random_device::min(3) page. bye bestie 🫢

πŸ“¦ where this page comes from