STD::UNIFORM_REAL_DISTRIBUTION_PARAM_TYPE(3)

πŸ“¦
version 13.3.1 Β· 3 versions
, in centos-stream 9

πŸŽ€ NAME πŸŽ€

hey bestie, welcome to this Library Functions Manual page from libstdc++ πŸ’– β€” we're talking about std::uniform_real_distribution< _RealType >::param_type, no cap.


✨ SYNOPSIS ✨

okay so here's the whole cast of characters, and yes, every one of them matters 🫢

🌸 Public Types 🌸

  • typedef uniform_real_distribution< _RealType > distribution_type β€” this is the type alias literally named distribution_type, and it points at uniform_real_distribution< _RealType > πŸ’…

πŸ¦‹ Public Member Functions πŸ¦‹

  • param_type (_RealType __a, _RealType __b=_RealType(1)) β€” the constructor, taking _RealType __a and _RealType __b where __b defaults to _RealType(1) ✨
  • result_type a () const β€” returns result_type, and it's the a accessor, periodt.
  • result_type b () const β€” returns result_type, and it's the b accessor, fr fr.

πŸ’œ Friends πŸ’œ

  • bool operator== (const param_type &__p1, const param_type &__p2) β€” a friend equality operator comparing two const param_type & references, __p1 and __p2 πŸ‘‘

πŸ”₯ Detailed Description πŸ”₯

under the hood, the source shows this exact template situation:

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

and its whole vibe is: Parameter type. 🧚

bestie, that template has _RealType = double as the default, and the struct name is exactly std::uniform_real_distribution< _RealType >::param_type β€” including that little trailing quote in the source snippet, iykyk πŸ’€

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. that's the author line, and we're respecting it 🌈


bye bestie πŸ’– β€” this iconic little page comes from libstdc++ and is dated Fri Feb 14 2025, slay πŸŽ€βœ¨

πŸ“¦ where this page comes from