cpp/numeric/random/rand

Returns a pseudo-random integral value from the range.

std seeds the pseudo-random number generator used by. If is used before any calls to std,  behaves as if it was seeded with.

Each time is seeded with std, it must produce the same sequence of values on successive calls.

Other functions in the standard library may call. It is implementation-defined which functions do so.

It is implementation-defined whether is thread-safe.

Parameters
(none)

Return value
Pseudo-random integral value between and rand_max.