C++ Logo

std-discussion

Advanced search

Re: generic c++ for loop

From: Andrey Semashev <andrey.semashev_at_[hidden]>
Date: Mon, 25 Nov 2024 23:27:39 +0300
On 11/25/24 23:12, Smith, Jim via Std-Discussion wrote:
> Hi All,
>
> Is there already a proposal for making the C++ for loop generic, for
> example able to print a function parameter pack?

You can do this with fold expressions.

Received on 2024-11-25 20:27:42