
10 Jul
2003
10 Jul
'03
7:44 p.m.
hi, in my code i need to be able to save the state of my program including that of he random number generators but under MSVC 7.1.3088 the following code: int main() { boost::mt19937 rng; std::cout << rng; return 0; } won't compile and gives the error: "error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'boost::mt19937' (or there is no acceptable conversion)" there a workaround for this (beyond my hacky solution of adding load and save functions to the mersenne_twister class)? thanks in advance, ian whittley
7898
Age (days ago)
7898
Last active (days ago)
0 comments
1 participants
participants (1)
-
Witz