https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
Ville Voutilainen changed:
What|Removed |Added
CC||ville.voutilainen at gmail dot
com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
--- Comment #11 from Daniel Krügler daniel.kruegler at googlemail dot com
2012-02-05 11:00:00 UTC ---
(In reply to comment #8)
But using decltype((ot), std::ostream) would solve that.
I agree that this would be much better but I suggest to cast
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
--- Comment #12 from Paolo Carlini paolo.carlini at oracle dot com 2012-02-05
11:11:34 UTC ---
I agree it should, thanks Daniel. In fact, I see that implementing the trick in
a fully correct way is less than trivial and, AFAIK, there is no hint
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
--- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com 2012-02-04
20:39:58 UTC ---
(PS: Daniel tweaked tuple_cat the same way)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
--- Comment #4 from Daniel Krügler daniel.kruegler at googlemail dot com
2012-02-04 21:44:24 UTC ---
(In reply to comment #3)
(PS: Daniel tweaked tuple_cat the same way)
There is a difference here: For tuple_cat we have a user constraint that
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
--- Comment #5 from Ben Longbons b.r.longbons at gmail dot com 2012-02-04
22:36:54 UTC ---
(In reply to comment #2)
Yesterday I was wondering: is there something in C++11 saying explicitly that
these tricks are allowed,
In N3242, 14.8.2/{7,8}
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
--- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com 2012-02-04
22:49:17 UTC ---
Thanks Daniel.
Ben, I know SFINAE ;) what I was looking for is something *in the library*
chapters saying somehow explicitly that for overload
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
--- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-04
22:53:11 UTC ---
(In reply to comment #5)
(In reply to comment #2)
Yesterday I was wondering: is there something in C++11 saying explicitly
that
these tricks are
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
--- Comment #8 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-04
22:54:51 UTC ---
But using decltype((ot), std::ostream) would solve that.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
--- Comment #9 from Paolo Carlini paolo.carlini at oracle dot com 2012-02-04
22:58:06 UTC ---
Jon, interesting
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
CC|
14 matches
Mail list logo