DOKK / manpages / debian 11 / libstdc++-10-doc / __gnu_cxx::random_condition.3cxx.en
__gnu_cxx::random_condition(3cxx) __gnu_cxx::random_condition(3cxx)

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

Inherits __gnu_cxx::condition_base.

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


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


void seed (unsigned long __s)


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

Base class for random probability control and throw.

Definition at line 488 of file throw_allocator.h.

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

Sun Jan 10 2021 libstdc++