C++ Logo

std-proposals

Advanced search

Re: [std-proposals] for loop enhancement

From: Jeremy Rifkin <rifkin.jer_at_[hidden]>
Date: Fri, 14 Mar 2025 13:05:15 -0500
> Already on track for C++26: https://wg21.link/P1306

This is quite different, this is about templates and packs rather than
simple loop unrolling.

Cheers,
Jeremy


On Fri, Mar 14, 2025 at 12:13 PM Bjorn Reese via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> On 3/14/25 17:43, Filip via Std-Proposals wrote:
>
> > 2. Forcing unroll with a keyword and not `#pragma`
> > ```
> > inline for ( … )
> > ```
> > It could force the unroll like similar construct does in zig.
> > This syntax already exists and we could probably easily implement it.
>
> Already on track for C++26:
>
> https://wg21.link/P1306
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2025-03-14 18:05:27