|
Boost Users : |
Subject: Re: [Boost-users] [Random] Good Truly-Random Seed
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-04-21 22:09:32
AMDG
Hossein Haeri wrote:
>> It does, in the form of random_device, though for some
>> reason it seems the Windows implementation still hasn't happened.
>>
>
> I'm not sure if this is because I'm using Windows or not. But, when I include the header and try to instantiate a random_device, my compiler (GCC) says it can't find the implementation of the ctor and the (virtual) dtor. I had a look at the header file and there was no definition over there. Had a quick search in the respective directories and couldn't find an implementation file either. Any suggestions?
>
It's in libs/random/random_device.cpp, but depends on /dev/urandom.
The implementation in 1.43 will contain an implementation for
Windows as well. I can make a patch if you want one.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net