$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2006-04-22 05:17:48
> I am using Visual Studio 7.1.3008. While using the Random library, I
> ran into an issue with the seed function of mt19937. From what I can
> gather, the compiler becomes confused about one of the overloads and
> tries to call the seed function:
> template<class Generator>
> void seed(Generator & gen)
>
> I couldn't this issue on the list of known issues for this compiler.
> Is this known. For now, it appears that the work-around is to cast
> it as an unsigned long.
Yep, it's a bug in the library I believe. It's not much consolation, but if
you use the std::tr1:: version in Boost-1.34 when it arrives you won't have
this problem.
John.