STD::UNIFORM_INT_DISTRIBUTION_PARAM_TYPE(3cxx)

πŸ’– NAME πŸ’–

std::uniform_int_distribution< _IntType >::param_type

Okay so bestie, this page is from the (3cxx) manual for libstdc++, and it’s serving the parameter-type era of std::uniform_int_distribution< _IntType >. That’s the name. That’s the whole assignment. πŸ’…

✨ SYNOPSIS ✨

#include <random>

🌸 Public Types 🌸

  • typedef uniform_int_distribution< _IntType > distribution_type β€” the public type alias, exactly as written, no cap.

πŸŽ€ Public Member Functions πŸŽ€

  • param_type (_IntType __a, _IntType __b=__gnu_cxx::__int_traits< _IntType >::__max) β€” the constructor signature. Note the __b default is __gnu_cxx::__int_traits< _IntType >::__max, and yes, that’s a whole snack. πŸ“
  • result_type a () const β€” the a() member function signature: returns result_type, takes no args, and is const.
  • result_type b () const β€” the b() member function signature: returns result_type, takes no args, and is const.

πŸ‘― Friends πŸ‘―

  • bool operator!= (const param_type &__p1, const param_type &__p2) β€” friend inequality operator signature. It takes two const param_type & refs and returns bool.
  • bool operator== (const param_type &__p1, const param_type &__p2) β€” friend equality operator signature. Same const param_type & refs, same bool return energy.

πŸ¦‹ DETAILED DESCRIPTION πŸ¦‹

template<typename _IntType = int>
    struct std::uniform_int_distribution< _IntType >::param_type

Parameter type.

🧚 AUTHOR 🧚

Generated automatically by Doxygen for libstdc++ from the source code.

Okay bestie, that’s the whole page β€” source/version: libstdc++, generated by Doxygen, and the footer’s version/manual line is libstdstd::uniform_i...e >::param_type(3cxx). No date was printed on the page, so I’m not inventing one. 🫢✨

πŸ“¦ where this page comes from