This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]