[Bug c++/53000] Conditional operator does not behave as standardized
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 10 10:28:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list