STD::UNIFORM_REAL_DISTRIBUTION_PARAM_TYPE(3)
π 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 nameddistribution_type, and it points atuniform_real_distribution< _RealType >π
π¦ Public Member Functions π¦
param_type (_RealType __a, _RealType __b=_RealType(1))β the constructor, taking_RealType __aand_RealType __bwhere__bdefaults to_RealType(1)β¨result_type a () constβ returnsresult_type, and it's theaaccessor, periodt.result_type b () constβ returnsresult_type, and it's thebaccessor, fr fr.
π Friends π
bool operator== (const param_type &__p1, const param_type &__p2)β a friend equality operator comparing twoconst param_type &references,__p1and__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 = doubleas the default, and the struct name is exactlystd::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
- centos-stream 9: gcc-toolset-13-libstdc++-docs 13.3.1-2.3.el9 Β· GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms