libstdc++: std::random_device Class Reference (original) (raw)
#include <[random](a00167%5Fsource.html)>
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 |
A standard interface to a platform-specific non-deterministic random number generator (if any are available).
Since
C++11
Definition at line 1752 of file random.h.
◆ result_type
The type of the generated random value.
Definition at line 1756 of file random.h.
std::random_device::random_device ( ) | inline |
---|
◆ random_device() [2/2]
std::random_device::random_device ( const std::string & __token) | inlineexplicit |
---|
◆ ~random_device()
std::random_device::~random_device ( ) | inline |
---|
◆ entropy()
double std::random_device::entropy ( ) const | inlinenoexcept |
---|
◆ max()
static constexpr result_type std::random_device::max ( ) | inlinestaticconstexpr |
---|
◆ min()
static constexpr result_type std::random_device::min ( ) | inlinestaticconstexpr |
---|
◆ operator()()
◆ _M_fd
int std::random_device::_M_fd
◆ _M_file
void* std::random_device::_M_file
◆ _M_func
◆ _M_mt
The documentation for this class was generated from the following file: