std::unifor...tion::param(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– std::unifor...tion::param πŸ’–

okay so bestie, this is the std::unifor...tion::param(3) page from the C++ Standard Libary manual β€” yes, that’s the manual name up top, typo and all πŸ’…. it’s giving β€œparameter set management,” and honestly? iconic.

🌸 NAME 🌸

std::uniform_int_distribution::param β€” std::uniform_int_distribution::param

✨ Synopsis ✨

here are the two signatures, exactly as they show up, both since C++11:

param_type param() const;               (1) (since C++11)
void param( const param_type& params ); (2) (since C++11)

this whole thing manages the associated distribution parameter set. no cap 🫢

  1. Returns the associated parameter set.
  2. Sets the associated parameter set to params.

πŸ’… Parameters πŸ’…

  • params β€” new contents of the associated parameter set

🫢 Return value 🫢

  1. The associated parameter set.
  2. (none)

πŸ”₯ Complexity πŸ”₯

Constant. literally constant. periodt πŸ’€βœ¨


mwah πŸ’‹ this page is from http://cppreference.com, dated 2024.06.10, and it’s filed under std::unifor...tion::param(3) β€” go off, bestie πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from