|
Boost : |
Subject: Re: [boost] [optional] operator<(optional<T>, T) -- is it wrong?
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-12-04 08:53:45
On 3 Dec 2014 at 18:03, Stephan T. Lavavej wrote:
> > Out of curiosity, does VC thunk through to the Windows Crypto API,
> > and therefore require that the environment variable block contains
> > the right COM initialisation magic (I ran into this "feature"
> > recently, it was confounding)?
>
> VC's random_device calls the CRT's rand_s which calls Windows'
> RtlGenRandom. There's no COM interaction, to my knowledge. (rand_s has a
> different codepath for Windows Store apps).
That is very useful to know, and actually solves a problem I have
forthcoming at work. Thanks Stephan.
Niall
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk