
2 Dec
2007
2 Dec
'07
9:40 p.m.
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.