
Marshall Clow wrote:
At 8:19 PM +0300 6/5/09, Peter Dimov wrote:
Marshall Clow:
https://svn.boost.org/trac/boost/ticket/351 is the oldest "bug" in the trac system.
I'm trying to figure out what Jens meant in his last comment (dated 4-11-2005), where he said "See issue 4.40 in the C++ committee's library TR issue list".
I looked at the current version of the library issues list <http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html>, and they don't have a 4.40 :-( I looked at revision #33 of this document (from April 2005), and they didn't have a 4.40 either. Anyone know what document he was referring to?
This one:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1837.pdf
Thank you!
Since this was a "bug" in the TR1 specification, and it has been resolved, I think that we can close this as "won't fix" with an explanation and a link to the resolution.
If no one objects, I will do this tonight.
The resolution seems to imply that the ctor that takes a non-const Generator should be changed to not accept mersenne_twister objects. So this ... template<class Generator> explicit mersenne_twister(Generator & gen) { seed(gen); } ... should be changed to this ... template<class Generator> explicit mersenne_twister(Generator & gen, typename disable_if<is_same<Generator, mersenne_twister> >::type* =0) HTH, -- Eric Niebler BoostPro Computing http://www.boostpro.com