STD::UNIFORM_REAL_DISTRIBUTION_PARAM_TYPE(3cxx)

✨ NAME ✨

okay so bestie, the manual name is std::uniform_real_distribution< _RealType >::param_type, and it lives in section 3cxx β€” yes, that’s the whole iconic little parameter-type moment. It’s giving β€œI’m the nested type that holds the parameters,” and we’re obsessed. πŸ’–

🌸 SYNOPSIS 🌸

#include <random>

πŸŽ€ Public Types πŸŽ€

  • typedef uniform_real_distribution< _RealType > distribution_type β€” the public typedef, bestie. It names uniform_real_distribution< _RealType > as distribution_type, no cap. ✨

🧚 Public Member Functions 🧚

  • param_type (_RealType __a, _RealType __b=_RealType(1)) β€” the constructor, fr fr. It takes _RealType __a and _RealType __b, and __b defaults to _RealType(1). Slay. πŸ’…
  • result_type a () const β€” the a() member function, const and returning result_type. Lowkey essential. πŸŽ€
  • result_type b () const β€” the b() member function, also const and returning result_type. Iconic matching energy. πŸ¦‹

πŸ‘‘ Friends πŸ‘‘

  • bool operator== (const param_type &__p1, const param_type &__p2) β€” the friend equality operator. It takes two const param_type & parameters, __p1 and __p2, and returns bool. Periodt. ⭐

πŸ’œ Detailed Description πŸ’œ

template<typename _RealType = double>
    struct std::uniform_real_distribution< _RealType >::param_type"Parameter
    type.

That’s the detailed description: Parameter type. Yes bestie, the original has that stray " and the line break in there, and not me preserving every detail like a museum artifact πŸ’€βœ¨

πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for libstdc++ from the source code.


k bye bestie πŸ’– β€” sign-off deets: this is the libstdc++ manual page for std::uniform_real_distribution< _RealType >::param_type in section 3cxx, generated by Doxygen from the source code. The footer didn’t show a date, so I’m not making one up β€” no cap. πŸŒˆπŸ’…

πŸ“¦ where this page comes from