std::shuffl...engine::min(3)

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

🌸 NAME 🌸

std::shuffle_order_engine::min β€” std::shuffle_order_engine::min, bestie. Yes, the NAME line is literally the same thing twice, and honestly? Iconic. We move. This is a page from the C++ Standard Libary (that spelling is staying exactly as-is, no cap πŸ’…) and it's all about std::shuffle_order_engine::min(3).


✨ Synopsis ✨

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

Okay so this returns the minimum value potentially generated by the engine adaptor. That value is equal to e.min() where e is the underlying engine. Periodt. 🫢


πŸ’– Parameters πŸ’–

(none) β€” zero parameters, bestie. Not a single one. The vibe check is empty and we love that for us. πŸŽ€


πŸŽ€ Return value πŸŽ€

The minimum potentially generated value. That's the whole tea. πŸ’…


πŸ”₯ Complexity πŸ”₯

Constant. No surprises, no drama, just constant energy. ⭐


πŸ‘‘ See also πŸ‘‘

  • max β€” gets the largest possible value in the output range; it's [static] (C++11) (public static member function) πŸ‘‘

And that's the page, bestie! This little manual moment is brought to you by http://cppreference.com and dated 2024.06.10 β€” slay, mwah πŸ’‹

πŸ“¦ where this page comes from