equivalent of typeid(Class).name at compile-time
Adam D. Ruppe
destructionator at gmail.com
Thu Nov 21 20:48:03 UTC 2019
On Thursday, 21 November 2019 at 20:45:16 UTC, Steven
Schveighoffer wrote:
> To clarify, I need the compile time string that will match
> typeid(instance).name, so I can match the derived type.
You have to make sure that the derived type is passed to your
register function, but then std.traits.fullyQualifiedName!T ought
to give it to you.
More information about the Digitalmars-d-learn
mailing list