Is there a "nice" way to access the names of template parameters outside?

Paul Backus snarwin at gmail.com
Tue Jul 27 09:31:07 UTC 2021


On Tuesday, 27 July 2021 at 08:15:12 UTC, Lukas  Borin wrote:
> Consider the following template
>
> ```D
> auto foo(T, int W, int H)(T p1, T p2) { }
> ```
>
> Is there a "nice" way from the outside the get the names of the 
> template values?

As far as I'm aware there is no way to introspect on template 
parameters at all.


More information about the Digitalmars-d-learn mailing list