[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2019-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2019-03-17 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-05 Thread daniel.kruegler at googlemail 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

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-05 Thread paolo.carlini at oracle dot com
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

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread redi at gcc dot gnu.org
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

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread paolo.carlini at oracle dot com
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)

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread daniel.kruegler at googlemail dot com
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

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread b.r.longbons at gmail dot com
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}

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread paolo.carlini at oracle dot com
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

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread redi at gcc dot gnu.org
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

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread redi at gcc dot gnu.org
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.

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread paolo.carlini at oracle dot com
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

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

2012-02-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|