
AMDG On 03/14/2011 04:07 PM, Andy Tompkins wrote:
The * is for mt19937, thus even if it is an issue, I would assume that it is not an issue with seed_rng.
I will point out that this test only validates that the distribution of sequential calls is uniformly distributed in a few dimensions. It tells you nothing about how unpredictable the sequence is. Looking at the code, I think it may be possible to generate the same values in two different processes if they run simultaneously on a system with no /dev/urandom.
In any event, thank you for your answer.
Do you (or the community) thing this should live in Boost.Random instead of a detail of Boost.Uuid?
Boost.Random already has random_device which should be at least as good as the ad hoc methods that you're using. In Christ, Steven Watanabe