[core.reflect] TemplateInstance reflection

jmh530 john.michael.hall at gmail.com
Mon Oct 4 14:00:49 UTC 2021


On Monday, 4 October 2021 at 12:07:36 UTC, Stefan Koch wrote:
> [snip]
>
> You can get Foo by asking for the name "Foo"
> but it won't tell you much, right now as reflecting template 
> declarations is a really tricky thing, they can have hidden 
> errors in them, which puts the reflector in a bad state.
> Therefore I don't touch the bodies of template declarations 
> right now.

Tanks. I was thinking getting the name of `Foo` from `x` or `y`.


More information about the Digitalmars-d mailing list