__gnu_cxx::throw_value_random(3cxx)

__gnu_cxx::throw_value_random3cxx

Type throwing via random condition.

Usage

#include <throw_allocator.h>

Inherits __gnu_cxx::throw_value_base< random_condition >.

Public Types

typedef throw_value_base< random_condition > base_type
typedef random_condition condition_type

Public Member Functions

throw_value_random (const std::size_t __i)
throw_value_random (const throw_value_random &__other)
throw_value_random (throw_value_random &&)=default
throw_value_base & operator++ ()
throw_value_random & operator= (const throw_value_random &__other)
throw_value_random & operator= (throw_value_random &&)=default
void seed (unsigned long __s)

Static Public Member Functions

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

Public Attributes

std::size_t _M_i

Detailed Description

Type throwing via random condition.

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.