C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Iterating over a parameter pack for...

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Tue, 5 Dec 2023 18:37:53 +0200
On Tue, 5 Dec 2023 at 18:35, Frederick Virchanza Gotham via
Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> On Tue, Dec 5, 2023 at 12:25 PM Bjorn Reese wrote:
> >
> > Already covered by https://wg21.link/P2671
>
>
> I call your bluff . . . there's nothing in that paper about having
> 'for' loops for parameter packs.

It has

// This paper: use a pack object to iterate over the pack
  template for (auto elem : ts!) { ... }

in it.

Received on 2023-12-05 16:38:06