This is the mail archive of the gcc@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]

Re: 'Range-based for' support for gcc


On 09/11/2010 08:08 PM, Flex Ferrum wrote:
>       for (auto i: {1, 2, 3, 4, 5})
>       {
>           std::cout << i << " ";
>       }
>   
It works fine already, see also the new testcase range-for6.C. Unless
you mean something else entirely and I'm not getting your point...

Paolo.


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