Boost logo

Boost :

Subject: Re: [boost] Boost.Uuid and header-only support
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2017-11-04 11:00:34


On 11/04/17 03:15, Peter Dimov via Boost wrote:
> James E. King, III wrote:
>> Hi folks,
>>
>> I have an open defect related to a random seed generator that's
>> currently in boost::uuids::detail called seed_rng.  The class does a
>> fair bit more than it really needs to, and does not support Universal
>> Windows Platform (UWP) store targets.  It is otherwise quite similar
>> to boost::random::random_device however it is a header-only
>> implementation (in fact seed_rng has a comment about putting it into
>> Boost.Random).  I was planning on removing it and leaving randomness
>> to Boost.Random because that's where the code really belongs, however
>> this would introduce a new library dependency on Boost.Random for any
>> code using boost::uuids::random_generator.  So I'm curious on how
>> important folks believe it is to maintain the header-only status of
>> Boost.Uuid.
>
> You had plans of contributing a header-only random_device to
> Boost.Random, I think?

The proposal to make Boost.Random header-only was rejected by Steven.

https://github.com/boostorg/random/pull/29


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