This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53000] Conditional operator does not behave as standardized
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Oct 2012 10:42:20 +0000
- Subject: [Bug c++/53000] Conditional operator does not behave as standardized
- Auto-submitted: auto-generated
- References: <bug-53000-4@http.gcc.gnu.org/bugzilla/>
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?