class template


template <class Engine, size_t w, class UIntType>
class independent_bits_engine;
Independent-bits random number engine adaptor
An engine adaptor class template that adapts a pseudo-random number generator Engine type to produce random numbers with a specific number of bits (w).

Template parameters

A random number engine type. All standard generators, except random_device, are random number engine types.
Word size: Number of bits of each generated number.
size_t is an unsigned integral type.
An unsigned integer type.
Values produced by the engine are of this type.

Member types

The following alias is a member type of independent_bits_engine:

member typedefinitionnotes
result_typeThe third template parameter (UIntType)The type of the numbers generated.

Member functions

Non-member functions

See also