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

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.


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