C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Extreme Template Parameter Possibilities

From: Edward Catmur <ecatmur_at_[hidden]>
Date: Mon, 28 Nov 2022 16:53:58 +0000
On Mon, 28 Nov 2022 at 16:51, Jason McKesson via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> On Mon, Nov 28, 2022 at 11:27 AM Frederick Virchanza Gotham via
> Std-Proposals <std-proposals_at_[hidden]> wrote:
> >
> > What if we could use template parameters to copy-paste arbitrary text
> > into the body of a function?
>
> We have that. They're called "macros".
>
>
Also see: metaclasses. https://github.com/cplusplus/papers/issues/403

Received on 2022-11-28 16:54:11