logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

__gnu_cxx::random_condition.3cxx

Author

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

                                                    libstdc++                  __gnu_cxx::random_condition(3cxx)

Detailed Description

       Base class for random probability control and throw.

Name

       __gnu_cxx::random_condition - Base class for random probability control and throw.

Synopsis

       #include <throw_allocator.h>

       Inherits __gnu_cxx::condition_base.

       Inherited by __gnu_cxx::throw_allocator_base<_Tp,random_condition>, and __gnu_cxx::throw_value_base<random_condition>.

   Classes
       struct always_adjustor
           Always enter the condition.
       struct group_adjustor
           Group condition.
       struct never_adjustor
           Never enter the condition.

   PublicMemberFunctions
       void seed (unsigned long __s)

   StaticPublicMemberFunctions
       static void set_probability (double __p)
       static void throw_conditionally ()

See Also