Boost logo

Boost :

Subject: Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development
From: degski (degski_at_[hidden])
Date: 2017-09-12 15:38:50

On 12 September 2017 at 18:14, Peter Dimov via Boost <boost_at_[hidden]>

> Something like that could probably work, but this is not the correct
> prototype. rand_s returns errno_t. If you try

The code I showed compiles and works, it won't allow you to get the
error-code, though...

So it should (because you are right) be (if one is interested in an error

extern "C" int rand_s ( unsigned int* );


"*Ihre sogenannte Religion wirkt bloß wie ein Opiat reizend, betäubend,
Schmerzen aus Schwäche stillend.*" - Novalis 1798

Boost list run by bdawes at, gregod at, cpdaniel at, john at