STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | List of all members
random_device Class Reference

Public Types

typedef unsigned int result_type
 

Public Member Functions

 random_device (const string &="")
 
double entropy () _NOEXCEPT
 
result_type operator() ()
 
 random_device (const random_device &)=delete
 
random_deviceoperator= (const random_device &)=delete
 

Static Public Member Functions

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

Member Typedef Documentation

typedef unsigned int random_device::result_type

Constructor & Destructor Documentation

random_device::random_device ( const string = "")
inlineexplicit
6410  { // construct
6411  (*this)(); // force early failure if bad engine
6412  }
random_device::random_device ( const random_device )
delete

Member Function Documentation

double random_device::entropy ( )
inline
6425  { // return entropy of random number source
6426  return (32.0);
6427  }
static constexpr result_type() random_device::max ( )
inlinestatic
6420  { // return maximum possible generated value
6421  return ((result_type)-1);
6422  }
unsigned int result_type
Definition: random:6407
static constexpr result_type() random_device::min ( )
inlinestatic
6415  { // return minimum possible generated value
6416  return (0);
6417  }
result_type random_device::operator() ( )
inline
6430  { // return next value
6431  return (_Random_device());
6432  }
_CRTIMP2_PURE unsigned int __CLRCALL_PURE_OR_CDECL _Random_device()
random_device& random_device::operator= ( const random_device )
delete

The documentation for this class was generated from the following file: