cds  2.3.2
cds::opt::v::c_rand Struct Reference

rand() -base random number generator for opt::random_engine More...

#include <cds/opt/options.h>

Public Types

typedef unsigned int result_type
 Result type.
 

Public Member Functions

 c_rand ()
 Constructor initializes object calling std::srand()
 
result_type operator() ()
 Returns next random number calling std::rand()
 

Detailed Description

rand() -base random number generator for opt::random_engine

This generator returns a pseudorandom integer in the range 0 to RAND_MAX (32767).


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

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:51 by Doxygen 1.8.13