11 Jul
2008
11 Jul
'08
10:39 p.m.
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