10 May
2012
10 May
'12
1:40 a.m.
Hello List, How can I create uuids so that the first one compares less than the next one.. something like this: boost::uuids::t1 = boost::uuids::random_generator()(); boost::uuids::t2 = boost::uuids::random_generator()(); BOOST_REQUIRE (t1 < t2); I don't see how to replace random_generator() with a time-based variant, if that even makes sense. If this can be done, then is there a way to extract the date+time from it? Thanks, Vic