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.