.TH "std::random_device" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::random_device .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "typedef unsigned int \fBresult_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBrandom_device\fP (const \fBrandom_device\fP &)=delete" .br .ti -1c .RI "\fBrandom_device\fP (const \fBstd::string\fP &__token)" .br .ti -1c .RI "double \fBentropy\fP () const noexcept" .br .ti -1c .RI "\fBresult_type\fP \fBoperator()\fP ()" .br .ti -1c .RI "void \fBoperator=\fP (const \fBrandom_device\fP &)=delete" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static constexpr \fBresult_type\fP \fBmax\fP ()" .br .ti -1c .RI "static constexpr \fBresult_type\fP \fBmin\fP ()" .br .in -1c .SH "Detailed Description" .PP A standard interface to a platform-specific non-deterministic random number generator (if any are available)\&. .PP Definition at line \fB1610\fP of file \fBrandom\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "typedef unsigned int \fBstd::random_device::result_type\fP" The type of the generated random value\&. .PP Definition at line \fB1614\fP of file \fBrandom\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "std::random_device::random_device ()\fC [inline]\fP" .PP Definition at line \fB1618\fP of file \fBrandom\&.h\fP\&. .SS "std::random_device::random_device (const \fBstd::string\fP & __token)\fC [inline]\fP, \fC [explicit]\fP" .PP Definition at line \fB1621\fP of file \fBrandom\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "double std::random_device::entropy () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB1637\fP of file \fBrandom\&.h\fP\&. .SS "static constexpr \fBresult_type\fP std::random_device::max ()\fC [inline]\fP, \fC [static]\fP, \fC [constexpr]\fP" .PP Definition at line \fB1633\fP of file \fBrandom\&.h\fP\&. .SS "static constexpr \fBresult_type\fP std::random_device::min ()\fC [inline]\fP, \fC [static]\fP, \fC [constexpr]\fP" .PP Definition at line \fB1629\fP of file \fBrandom\&.h\fP\&. .SS "\fBresult_type\fP std::random_device::operator() ()\fC [inline]\fP" .PP Definition at line \fB1647\fP of file \fBrandom\&.h\fP\&. .SH "Member Data Documentation" .PP .SS "int std::random_device::_M_fd" .PP Definition at line \fB1672\fP of file \fBrandom\&.h\fP\&. .SS "void* std::random_device::_M_file" .PP Definition at line \fB1670\fP of file \fBrandom\&.h\fP\&. .SS "\fBresult_type\fP(* std::random_device::_M_func) (void *)" .PP Definition at line \fB1671\fP of file \fBrandom\&.h\fP\&. .SS "\fBmt19937\fP std::random_device::_M_mt" .PP Definition at line \fB1674\fP of file \fBrandom\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.