Boost logo

Boost :

Subject: Re: [boost] Boost.Uuid and header-only support
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2017-11-06 10:31:29


> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Andrey Semashev via Boost
> Sent: 05 November 2017 19:33
> To: boost_at_[hidden]
> Cc: Andrey Semashev
> Subject: Re: [boost] Boost.Uuid and header-only support
>
> On 11/05/17 19:23, James E. King, III via Boost wrote:
> > On Sun, Nov 5, 2017 at 10:20 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. :-)
> >>>
> > I changed it to random_generator_os, temporarily, but pending more
> > discussion it may become random_generator.
>
> I can throw in another candidate. :) Since the new generator is supposed
> to be using solely random entropy from system, I would suggest
> random_entropy_generator.

I have been following this erudite discussion with interest, but ignorance.

Without wishing to add even more entropy,
may I suggest that adding more options is rarely a bad thing, but it creates
an even more bewildering set of options for the user (for UUID, I fear as ignorant as I).

It would be very helpful if a summary of the pros and cons of generators
was added to the documentation along with several examples of good use.

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830

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