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++/49834] [C++0x] type deduction in for-each loop in template function


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49834

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-02 18:09:02 UTC ---
Author: jason
Date: Tue Aug  2 18:08:58 2011
New Revision: 177199

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177199
Log:
    PR c++/49834
    * parser.c (build_range_temp): Split out from...
    (cp_convert_range_for): ...here.
    (do_range_for_auto_deduction): New.
    (cp_parser_range_for): Use it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/range-for20.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


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