Boost logo

Boost :

Subject: Re: [boost] Boost.Uuid and header-only support
From: Peter Dimov (lists_at_[hidden])
Date: 2017-11-05 14:19:30


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. :-)

> ... 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk