Re:The C++ community is polarized about C++11's random-numbe...
by dragontamer on Tuesday December 15, 2015 @02:45AM
(#10736498)
> std::random_device may be implemented in terms of an implementation-defined pseudo-random number engine if a non-deterministic source (e.g. a hardware device) is not available to the implementation.
Windows has a non-deterministic source (IE: The function CryptGenRandom). Therefore, this is a bug in MingW's implementation. CryptGenRandom is hard to use, but that's no excuse for MingW's developers to be lazy.
Pointing at a "mistake" in the spec when the intent of the spec is extremely clear is laziness. Pure and simple.
That's not really the case here, is it? If anything the bug is in the standard.