cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Implementations and additions tied to Standard header <random>
.
More...
Classes | |
struct | linear_congruential_engine<... > |
Backports std::linear_congruential_engine to compilers that miss it or use a different name. More... | |
struct | subtract_with_carry_engine<... > |
Backports std::subtract_with_carry_engine to compilers that miss it or use a different name. More... | |
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. | |
cxxomfort::cxxostd | |
Backports made available by cxxomfort. | |
Typedefs | |
typedef std::ranlux24_base | default_random_engine |
cxxomfort uses ranlux24_base as its "default random engine". More... | |
typedef shuffle_order_engine< minstd_rand, 256 > | knuth_b |
Forwarder for the std::knuth_b specialization of shuffle_order_engine .See shuffle_order_engine above. | |
Implementations and additions tied to Standard header <random>
.
struct cxxomfort::cxxostd::linear_congruential_engine |
Backports std::linear_congruential_engine
to compilers that miss it or use a different name.
<random>
backports. <random>
backports.struct cxxomfort::cxxostd::subtract_with_carry_engine |
Backports std::subtract_with_carry_engine
to compilers that miss it or use a different name.
<random>
backports. <random>
backports.struct cxxomfort::fix::shuffle_order_engine |
Forwarder for std::shuffle_order_engine
.
Some compilers, such as MSVC 2008, 2010, don't implement shuffle_order_engine
, and some other compilers don't implement it at all. This name will redirect to cxxomfort's implementation in those cases, or to std::shuffle_order_engine
otherwise.