as you mentioned in t he source std::time(0) is not a good truly-random
Maybe you could use
>On Fri, 2006-03-03 at 14:26 +0000, Andy Tompkins wrote:
>> I am currently working on a guid class. It is not quite done yet,
>> is quite
>> functional. It does have a portable function to create guids. I
>> put it
>> in the boost vault (guid.zip) in the hopes that it may one day be a
>well, the api looks really good (very similar to my libuuid wrapper)
>but i'm a bit lost building it ...
>i guess i have to run bjam, but how do i have to use it? up to now i
>just using emerging boost, but i have to experience in building it :-/
>thanks ... tim
>[hidden email] ICQ: 96771783
>Linux is like a wigwam: no windows, no gates, apache inside, stable.
Boost-users mailing list
[hidden email] http://lists.boost.org/mailman/listinfo.cgi/boost-users
> Using Boost 1_33_1 and Visual Studio 8. Any and all help appreciated.....
> Working with "The FlySwapper" example in the "C++ Template
> Metaprogramming" book. Pages 22-24. It crashes when I do this:
> std::vector<bool>::iterator i1;
> std::vector<bool>::iterator i2;
> use_swap( &i1, &i2 ) // crash here
No such line of code exists in the book.
> All other types I try work fine. But doing <bool> crashes on this
> iter_swap_impl<use_swap>::do_it(*i1,*i2); // ouch!!!
Sorry, this is an erratum that has since been corrected in more recent