STD::GEOMETRIC_DISTRIBUTION_PARAM_TYPE(3)

πŸ“¦
version 13.3.1 Β· 3 versions
, in centos-stream 9

🌸 NAME 🌸

std::geometric_distribution< _IntType >::param_type

okay so this is the std::geometric_distribution< _IntType >::param_type page from the Library Functions Manual πŸ’… bestie, it's the parameter type and it's lowkey iconic.


✨ SYNOPSIS ✨

Here's the whole little cast, no cap:

πŸŽ€ Public Types πŸŽ€

  • typedef geometric_distribution< _IntType > distribution_type β€” the public type alias, exactly as advertised. πŸ¦‹

πŸ’– Public Member Functions πŸ’–

  • param_type (double __p) β€” a member function that takes a double __p. πŸŽ€
  • double p () const β€” gives you back a double from p () const, and the const is right there. ⭐

🌈 Friends 🌈

  • class geometric_distribution< _IntType > β€” a friend class, bestie. πŸ‘‘
  • bool operator== (const param_type &__p1, const param_type &__p2) β€” the operator== friend taking two const param_type references, __p1 and __p2. πŸ”₯

πŸ’– Detailed Description πŸ’–

Template time, and yes this is literally the whole thing β€” including the quote after param_type that lives in the original. No notes. πŸ’€

   template<typename _IntType = int>
       struct std::geometric_distribution< _IntType >::param_type" Parameter
       type.

So it's the parameter type, with _IntType defaulting to int in that template declaration. That's the vibe. 🧚


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. πŸ‘‘βœ¨

xoxo, signing off from libstdc++ on Fri Feb 14 2025, page std::geome...:param_type(3) β€” periodt. πŸ«ΆπŸ’…

πŸ“¦ where this page comes from