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 c++/53000] Conditional operator does not behave as standardized


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000

--- Comment #13 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2012-10-10 10:42:20 UTC ---
(In reply to comment #11)
> Thus, the library bits are done in mainline, right Daniel?

In regard to std::common_type, yes. But while making std::common_type
sfinae-friendly I searched for common_type in other tests and found at least
one test that locally defines a dual common_type and as far as I remember it
the test assumption was wrong. I cannot test it from here but I believe it was
something that effectively tested the common type of int and const int and the
decltype result was assumed to be int (instead of const int&&). Could someone
check on this one or I will do that this evening?


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