Boost logo

Boost :

From: Kevin Sopp (baraclese_at_[hidden])
Date: 2007-12-02 16:40:40


> One can maybe extract some entropy from macros such as __DATE__ and
> __TIME__, using both preprocessing and templates.

These just expand to a string not a number on which one could do some
processing.
The only macro that is usable is __LINE__ and when compiling constant
expressions sizeof can be used, but these provide only a very low
entropy.
In other words I haven't found a way to do this either although it
would be really easy to add a built in uuid macro to the preprocessor
but no one seems to have done that.


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