5 Nov
2017
5 Nov
'17
2:19 p.m.
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.