STD::PIECEWISE_CONSTANT_DISTRIBUTION_PARAM_TYPE(3)

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

πŸ¦‹ std::piecewise_constant_distribution< _RealType >::param_type πŸ¦‹

okay so bestie, this is the Library Functions Manual page for std::piecewise_constant_distribution< _RealType >::param_type, and it is literally giving parameter-type struct energy. πŸ¦‹ no cap, we're about to go through every single thing on this page β€” not a crumb skipped. πŸ’…


✨ NAME ✨

std::piecewise_constant_distribution< _RealType >::param_type

🌸 SYNOPSIS 🌸

okay here's the whole roster, bestie β€” every type, every member function, every friend, exactly as the page lists them. πŸŽ€

πŸ’– Public Types πŸ’–

       typedef piecewise_constant_distribution< _RealType > distribution_type

That's the one typedef: distribution_type is piecewise_constant_distribution< _RealType >. iconic, honestly. ✨

🫢 Public Member Functions 🫢

       template<typename _InputIteratorB , typename _InputIteratorW >
           param_type (_InputIteratorB __bfirst, _InputIteratorB __bend,
           _InputIteratorW __wbegin)
       param_type (const param_type &)=default
       template<typename _Func > param_type (initializer_list< _RealType >
           __bi, _Func __fw)
       template<typename _Func > param_type (size_t __nw, _RealType __xmin,
           _RealType __xmax, _Func __fw)
       std::vector< double > densities () const
       std::vector< _RealType > intervals () const
       param_type & operator= (const param_type &)=default

look at that lineup: constructors, a defaulted copy constructor, densities(), intervals(), and a defaulted assignment operator. the way that param_type (const param_type &)=default and param_type & operator= (const param_type &)=default are just sitting there being defaulted? we love to see it. πŸ’œ

🧚 Friends 🧚

       bool operator== (const param_type &__p1, const param_type &__p2)
       class piecewise_constant_distribution< _RealType >

two friends in the house: the equality operator bool operator== (const param_type &__p1, const param_type &__p2) and class piecewise_constant_distribution< _RealType >. periodt. 🫢

πŸ’– Detailed Description πŸ’–

   template<typename _RealType = double>
       struct std::piecewise_constant_distribution< _RealType >::param_type"

Parameter type. fr fr, that's the whole description β€” it's the parameter type, and it's not out here pretending to be anything else. πŸ˜­πŸ‘‘

🫢 Author 🫢

Author? more like auto-generated, bestie: Doxygen generated this for libstdc++ from the source code. no human author hand-wrote it. πŸ’…


xoxo, your libstdc++ bestie πŸ’…βœ¨ β€” Fri Feb 14 2025 β€” std::piece...:param_type(3) out πŸ¦‹

πŸ“¦ where this page comes from