Boost logo

Boost Users :

From: Jeffrey A. Edlund (jedlund_at_[hidden])
Date: 2008-07-11 18:39:41


If I'm using g++ then I can just use operator<< and operator>> to save
and load the state of the random number generator. Unfortunately I
also need to compile this code on MSVC++ 8.0. Using MSVC++ 8.0
BOOST_NO_MEMBER_TEMPLATE_FRIENDS is defined which removes those
operators. Is there some way to do this without modifying
mersenne_twister.hpp or doing something crazy like #define private
public?

Thanks,

Jeffrey


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