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-14 04:37:18

On 14 September 2017 at 03:32, James E. King, III via Boost <
boost_at_[hidden]> wrote:

> RtlGenRandom is no supported on non-desktop UWP ...

 This page
states that: "UWP apps use the Windows Runtime, a native API built into the
operating system." ... and ... Some options for writing apps in UWP
include: ... C++ backend ... So it should be possible to write:

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

which tells the compiler not to worry about the existence of this function,
"we'll give it to you at link-time". This works (and only works AFAIK),
because it's a "C" function, a function without C++ name mangling.


"*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