HerdSoftware  0.4.0
Functions
Herd::Misc Namespace Reference

Functions

unsigned int RandomSeed ()
 Draws a random seed for initializing a random engine. More...
 

Function Documentation

◆ RandomSeed()

unsigned int Herd::Misc::RandomSeed ( )

Draws a random seed for initializing a random engine.

This routine produces a "random" number based on current time. The returned number can be used as the seed for initializing a pseudo-random number engine. Do not use returned values as a true random or pseudo-random number, since there's no guarantee about the effective randomness