|
Boost Users : |
Subject: Re: [Boost-users] Building boost to NOT USE built-in Visual Studio 2010TR1 random
From: nelis (neliswillers_at_[hidden])
Date: 2012-05-05 02:37:02
John Maddock <boost.regex <at> virgin.net> writes:
> > The objective is to get exactly the same random number generator behaviour
> > for the same application built with VS2005, VS2010 and Gnu compilers.
> >
>
> You can't force the Boost.TR1 library *not* to use the native version if
> it's available since those names have already been taken up in std::tr1.
> Just use Boost.Random directly instead.
>
> HTH, John.
>
Thanks John, it did help!
After reading your reply and looking at the boost header files (read the
flaming source!) I realised that one must use the boost::random namespace
qualifier instead of std::tr1. It works beautifully now!
thanks!
nelis
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net