Paolo Carlini d9c257a7e2 re PR libstdc++/51795 (linear_congruential_engine doesn't work correctly)
2012-01-27  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/51795
	* include/bits/random.h (linear_congruential_generator): Add
	static_assert preventing instantiation for values of 'a' and 'm'
	currently handled incorrectly but _Mod::__calc.
	* include/bits/random.tcc (seed_seq::generate): Avoid unsafe
	uses of _Mod::__calc.

From-SVN: r183655
2012-01-27 23:30:28 +00:00
..
2011-11-08 01:02:06 +00:00
2011-12-04 16:53:17 +00:00
2011-12-10 15:33:06 +00:00
2012-01-23 23:12:01 +00:00