[Bug c++/53000] Conditional operator does not behave as standardized
marc.glisse at normalesup dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 24 23:24:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000
--- Comment #7 from Marc Glisse <marc.glisse at normalesup dot org> 2012-04-24 23:23:09 UTC ---
(In reply to comment #6)
> which way is the standards committee leaning?
The DR is young, there hasn't been a meeting since. There weren't many
objections to the proposed resolution, although it did seem strange to some
that common_type<int&,int&>::type would be int and not int&. I am too new to
the process to say more...
(I guess the proposed resolution should make the one-argument version of
common_type equivalent to decay, to be consistent)
More information about the Gcc-bugs
mailing list