std::unifor...bution::a,b(3)
π std::uniform_int_distribution::a,b π
okay so this is straight outta the C++ Standard Libary manual, section 3 β and the main character is std::uniform_int_distribution::a,b. no cap, the vibe is "parameter getters" and they're serving exactly what they say on the tin. π
β¨ NAME β¨
std::uniform_int_distribution::a,b β std::uniform_int_distribution::a,b
πΈ Synopsis πΈ
result_type a() const; (1) (since C++11)
result_type b() const; (2) (since C++11)
These return the parameters the distribution has been constructed with. fr fr, that's the whole job.
- Returns the
adistribution parameter. It defines the minimum possibly generated value. The default value is0. - Returns the
bdistribution parameter. It defines the maximum possibly generated value. The default value isstd::numeric_limits<IntType>::max().
π«Ά Parameters π«Ά
(none)
β Return value β
- The
adistribution parameter. - The
bdistribution parameter.
π₯ See also π₯
paramβ gets or sets the distribution parameter object(C++11)(public member function)
cute little sign-off: source/version is http://cppreference.com, dated 2024.06.10 β bye bestie, go get those parameters ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms