class
<random>

std::default_random_engine

Default random engine
This is a random number engine class that generates pseudo-random numbers.

It is the library implemention's selection of a generator that provides at least acceptable engine behavior for relatively casual, inexpert, and/or lightweight use.

Member types

The following alias is a member type of default_random_engine:

member typedefinitionnotes
result_typeAn unsigned integer typeThe type of the numbers generated.

Member functions

In the case that this is a linear_congruential_engine type, it has the following member functions:

Non-member functions


See also