[Bug c++/65994] auto deduces object instead of initializer_list

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65994

--- Comment #4 from Andrew Pinski  ---
CWG2038 :
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2038

Looks like it is explicit that there should be a difference between C++11/14
and C++17 
But I can't find a compiler which accepts this code for C++11 or C++14 modes


[Bug c++/65994] auto deduces object instead of initializer_list

2019-01-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65994

Jonathan Wakely  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #3 from Jonathan Wakely  ---
Jason, should this be closed, because our current behaviour is as intended?

[Bug c++/65994] auto deduces object instead of initializer_list

2015-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65994

--- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org ---
(In reply to Jonathan Wakely from comment #1)
 ... just for the same of nitpicky conformance.

s/same/sake/


[Bug c++/65994] auto deduces object instead of initializer_list

2015-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65994

--- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org ---
(Hi Barry!)

Generally when we fix defects we apply them retroactively to older standards
modes as well, if the old behaviour is defective then it's better to change it
than maintain two code paths just for the same of nitpicky conformance.