Ticket #2665: linear_congruential.hpp.diff
File linear_congruential.hpp.diff, 446 bytes (added by , 14 years ago) |
---|
-
linear_congruential.hpp
old new 65 65 } 66 66 67 67 template<class It> 68 linear_congruential(It& first, It last) { seed(first, last); } 68 linear_congruential(It& first, It last) 69 : _modulus(modulus) 70 { seed(first, last); } 69 71 70 72 // compiler-generated copy constructor and assignment operator are fine 71 73 void seed(IntType x0 = 1)