Test if RandomDist is a random distribution. The overload taking an ElementType also makes sure that the distribution generates values of that type.
Test if UniformRNG is a seedable uniform random number generator. The overload taking a SeedType also makes sure that the generator can be seeded with SeedType.
Test if Range is a uniform random number generator. The overload taking an ElementType also makes sure that the RNG generates values of that type.
See Source File
$(HAPSRC hap/random/_traits.d)
© 2008-2011 Andrei Alexandrescu, 2013-2014 Joseph Rushton Wakeling
Implements compile-time checks for different features of random number generating code.