C++ Logo


Advanced search

Re: [std-proposals] Array Index in Range-based For Loops

From: Pavel Vazharov <freakpv_at_[hidden]>
Date: Wed, 1 Mar 2023 10:57:11 +0200
> It would be nice if range-based for loops had an implicit counter
> variable
I'm not sure views::enumerate made it to C++ 23 or not -
The variable will be explicit in this case.

Received on 2023-03-01 08:57:23