cxxomfort  rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
Classes | Namespaces | Typedefs | Functions
random.hpp File Reference

Implementations and additions tied to Standard header <random>. More...

Classes

struct  shuffle_order_engine< Engine, K >
 Forwarder for std::shuffle_order_engine. More...
 

Namespaces

 cxxomfort
 Namespace of the cxxomfort library.
 
 cxxomfort::fix
 Fixes for implementation issues in std.
 

Typedefs

typedef shuffle_order_engine< minstd_rand, 256 > knuth_b
 Forwarder for the std::knuth_b specialization of shuffle_order_engine .
 

Functions

static int randmo (int mo) CXXO_NOEXCEPTNOTHROW
 Invokes rand and rids of some of the bias from the modulo. More...
 

Detailed Description

Implementations and additions tied to Standard header <random>.