__gnu_cxx::random_condition(3cxx)

__gnu_cxx::random_condition3cxx

Base class for random probability control and throw.

Usage

#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.

Public Member Functions

void seed (unsigned long __s)

Static Public Member Functions

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

Detailed Description

Base class for random probability control and throw.

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.