STD::BINOMIAL_DISTRIBUTION_PARAM_TYPE(3cxx)
π NAME π
okay so bestie, this is the 3cxx manual page for std::binomial_d...e >::param_type β and the actual full name in the NAME section is std::binomial_distribution< _IntType >::param_type. Itβs the parameter-type era of std::binomial_distribution, and yes, weβre keeping every underscore exactly where it lives. π«Ά
β¨ SYNOPSIS β¨
#include <random>
π Public Types π
typedef binomial_distribution< _IntType > distribution_typeβ the public type alias, copied exactly, because_IntTypeis not a typo and we do not touch the underscores. π
π¦ Public Member Functions π¦
param_type (_IntType __t, double __p=0.5)β theparam_typemember function takes an_IntType __tand adouble __pthat defaults to0.5. The0.5is doing main-character work, no cap.double p () constβ returnsdouble, takes no args, and isconst. Very clean, very demure._IntType t () constβ returns_IntType, takes no args, and isconst. Same energy, different return type. β¨
π« Friends π«
class binomial_distribution< _IntType >β a friend class, exact name, exact template parameter.bool operator== (const param_type &__p1, const param_type &__p2)β the friend equality operator: returnsbooland takes twoconst param_type &references, named__p1and__p2. Periodt. π₯
πΈ Detailed Description πΈ
The template line is literally:
template<typename _IntType = int>
struct std::binomial_distribution< _IntType >::param_type"Parameter type.
That "Parameter type. situation β quote mark and all β is straight from the source page, bestie. Iβm not βfixingβ it, because the rule is keep every detail. ππ
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
So yes, Doxygen generated it for libstdc++ from the source code. Iconic automation behavior. π
π Cute sign-off: the footer source/version string is libststd::binomial_d...e >::param_type(3cxx), and the original footer does not list a date, so Iβm not inventing one. Bye bestie, go read your random header. π«Άβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms