std::__par...and_number(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸŽ€ std::__par...and_number(3) πŸŽ€

okay so bestie, this is the Library Functions Manual page for std::__par...and_number(3), and the manual name is libstdc++ β€” we love a niche little manual moment, fr fr. πŸ’–


✨ NAME ✨

std::__parallel::c_rand_number β€” Functor wrapper for std::rand(). πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

πŸ’… Public Member Functions πŸ’…

  • int operator() (int limit) β€” this is the public member function, and yes, it takes an int limit, slay. ✨

🌸 Detailed Description 🌸

Okay so the template vibe is literally this:

template<typename must_be_int = int> struct std::__parallel::c_rand_number<
    must_be_int >

It’s a Functor wrapper for std::rand() β€” that’s the whole description, no cap. 🫢

Lowkey important detail: Definition at line 1632 of file algo.h. πŸŽ€

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. πŸ’œ


Cute little sign-off tea: the footer is giving libstdc++, 21 Apr 2009, and std::__par...and_number(3) β€” bye bestie, periodt! πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from