11 May
2004
11 May
'04
9:59 a.m.
if the following code is commented out from visualc.hpp the standard streaming operators become available for mersenne_twister - and they seem to work fine. is this a bug or have i just been fortunate in my experimentation?
#if _MSC_VER <= 1310 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS #endif
I admit to being a little surprised by that myself, I'll look into it... OK it was disabled by Beman Dawes with the comment "See format_test1 for example of why needed", and this test case does indeed fail if we undef that macro - it uses friend functions that are namespace qualified and very few compilers currently support that unfortunately. John.