
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? -- -- Marshall Marshall Clow Idio Software <mailto:marshall@idio.com> It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed, the hands acquire shaking, the shaking becomes a warning. It is by caffeine alone I set my mind in motion.

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

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. -- -- Marshall Marshall Clow Idio Software <mailto:marshall@idio.com> It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed, the hands acquire shaking, the shaking becomes a warning. It is by caffeine alone I set my mind in motion.

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

AMDG Eric Niebler wrote:
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)
http://lists.boost.org/Archives/boost/2009/06/152183.php I have a patch and tests now, but I'd still like to tweak it a little. In Christ, Steven Watanabe

AMDG Eric Niebler wrote:
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)
Patch attached. I'm still waiting for the regressions tests to complete. They pass using msvc-9.0express and gcc-4.3.0 both with and without SFINAE. I won't be able to test on a compiler that doesn't support SFINAE at all until tomorrow. In Christ, Steven Watanabe
participants (4)
-
Eric Niebler
-
Marshall Clow
-
Peter Dimov
-
Steven Watanabe