Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-06-04 17:56:24

Andy wrote:
> "Gottlob Frege" <gottlobfrege_at_[hidden]> wrote in
> news:97ffb310706011815p5704ca0ds9a6ceb09deeb21b6_at_[hidden]:
>> Would it make any sense for uuid::create() to just use the OS's
>> function, for OSes that can create uuids? (ie most OSes).
> The OS API on windows creates time-based uuids (I don't know about
> other OSs, but expect the same). The uuid::create() function creates
> random-number-based uuids. I do not want to mix these.

On Windows XP and Vista, one can use RtlGenRandom. It produces a
cryptographic-quality random number.

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