|
Boost : |
Subject: Re: [boost] Boost.Uuid and header-only support
From: James E. King, III (jking_at_[hidden])
Date: 2017-11-05 14:45:05
On Sun, Nov 5, 2017 at 9:19 AM, Peter Dimov via Boost <boost_at_[hidden]
> wrote:
> James E. King, III wrote:
>
> I'm adding boost::uuids::random_device_solo which is a
>> basic_random_generator of random_device (header-only) type, ...
>>
>
> That's not a very good name. :-)
>
It's not committed yet. :>
> ... and documented it as optimal for one-off UUID generation, whereas the
>> standard random_generator is best suited to be reused (in a thread-safe
>> manner) for multiple uuid generation.
>>
>
> You're still using "optimal" only with respect to performance. It's never
> optimal for random numbers to not be cryptographically secure.
>
>
Issues are always welcome.
- Jim
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk