std::random_device(3cxx)

std::random_device3cxx

Usage

#include <random>

Public Types

typedef unsigned int result_type

Public Member Functions

random_device (const random_device &)=delete
random_device (const std::string &__token)
double entropy () const noexcept
result_type operator() ()
void operator= (const random_device &)=delete

Static Public Member Functions

static constexpr result_type max ()
static constexpr result_type min ()

Detailed Description

A standard interface to a platform-specific non-deterministic random number generator (if any are available).

Member Typedef Documentation

typedef unsigned int std::random_device::result_type

The type of the generated random value.

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.