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: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Oct 2012 10:27:39 +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
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glisse at gcc dot gnu.org
--- Comment #12 from Marc Glisse <glisse at gcc dot gnu.org> 2012-10-10 10:27:39 UTC ---
(In reply to comment #11)
> Thus, the library bits are done in mainline, right Daniel?
So we now have:
common_type<const int&>::type -> const int&
common_type<const int&,const int&>::type -> int
?
If we are going with this resolution, I think the 1 argument version should
derive from decay.