id summary reporter owner description type status milestone component version severity resolution keywords cc 1068 Mersenne twister disables streaming for Visual C++ s.somani@… No-Maintainer "boost/mersenne_twister.hpp disables the streamable concept because boost config machinery says that vc 7.1/8 cannot handle member template friends. This appears not to be the case. To work around it, I do the following: // This hack is necessary because boost thinks that Visual C++ still // cannot handle member function templates // It is needed to make mersenne_twister streamable #include #if defined(BOOST_MSVC) && defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS) # undef BOOST_NO_MEMBER_TEMPLATE_FRIENDS # define FINCAD_BOOST_RNG_HACK #endif #include #ifdef FINCAD_BOOST_RNG_HACK # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS # undef FINCAD_BOOST_RNG_HACK #endif I don't know how you would fix it for the twister. It really sounds like a config machinery issue but it affects the mersenne twister code negatively." Bugs closed To Be Determined random Problem fixed