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

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 5 11:00:00 GMT 2012


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((o<<t), std::ostream&) would solve that.

I agree that this would be much better but I suggest to cast the first
expression to void to prevent overloaded operator, to be in effect here. I
still think that a library issue should be opened for this.



More information about the Gcc-bugs mailing list