C++ Logo

std-discussion

Advanced search

generic c++ for loop

From: Smith, Jim <jim.smith_at_[hidden]>
Date: Mon, 25 Nov 2024 20:12:53 +0000
Hi All,

Is there already a proposal for making the C++ for loop generic, for example able to print a function parameter pack?

This would require a kind of template version of the C++ for loop, i.e., an implementation would be generated for each type it may encounter during execution.

-James Smith

Sent with [Proton Mail](https://proton.me/mail/home) secure email.

Received on 2024-11-25 20:13:03