Extracting user defined attributes on function parameters
Jean-Louis Leroy
jl at leroy.nyc
Tue Apr 14 21:54:14 UTC 2020
On Tuesday, 14 April 2020 at 21:44:51 UTC, Adam D. Ruppe wrote:
> On Tuesday, 14 April 2020 at 21:35:12 UTC, Jean-Louis Leroy
> wrote:
>> I can see them:
>
> There's some weird tricks to it. Check out my old blog sidebar
> about it here:
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2019_02_11.html#how-to-get-uda-on-a-function-param
O.....kay. It looks like `is` is D's Swiss army chainsaw. Yeah I
never read the `is` doc properly. Now I am beginning to
understand how `std.traits.Parameters` works.
Thanks!
More information about the Digitalmars-d-learn
mailing list