DOKK / manpages / debian 12 / libstdc++-11-doc / std::random_device.3cxx.en
std::random_device(3cxx) std::random_device(3cxx)

std::random_device

#include <random.h>


typedef unsigned int result_type


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 constexpr result_type max ()
static constexpr result_type min ()

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

Definition at line 1610 of file random.h.

The type of the generated random value.

Definition at line 1614 of file random.h.

Definition at line 1618 of file random.h.

Definition at line 1621 of file random.h.

Definition at line 1637 of file random.h.

static constexpr result_type std::random_device::max () [inline], [static], [constexpr]

Definition at line 1633 of file random.h.

static constexpr result_type std::random_device::min () [inline], [static], [constexpr]

Definition at line 1629 of file random.h.

result_type std::random_device::operator() () [inline]

Definition at line 1647 of file random.h.

Definition at line 1672 of file random.h.

Definition at line 1670 of file random.h.

result_type(* std::random_device::_M_func) (void *)

Definition at line 1671 of file random.h.

mt19937 std::random_device::_M_mt

Definition at line 1674 of file random.h.

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

Thu Feb 16 2023 libstdc++