14 thread_local
MTRand Random = []
28 thread_local
UInt32 SeedCounter = []
30 std::random_device rd;
31 std::uniform_int_distribution<UInt32> dist;
MTRand & GetRandomProvider()
Returns the current thread's random number source.
cRandomWrapper< std::mt19937 > MTRand
UInt32 GetRandomSeed()
Returns a low quality seed.
Class to wrap any random engine to provide a more convenient interface.
Utility to seed a random engine with maximal entropy from random_device.