This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 'Range-based for' support for gcc
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Сергей Садовников <flex_ferrum at artberg dot ru>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 11 Sep 2010 20:41:11 +0200
- Subject: Re: 'Range-based for' support for gcc
- References: <1284144309.20525.ezmlm@gcc.gnu.org> <672773524.20100911220849@artberg.ru>
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.