[GSoC Proposal] Statically Checked Measurement Units
Jens Mueller
jens.k.mueller at gmx.de
Mon Mar 28 13:59:35 PDT 2011
Cristi Cobzarenco wrote:
> Again I will have to think some more about the latter point. And I'll do
> some more tests on the performance of doing linear searches. Is there way to
> get the name of a type (as a string) at compile time (not the mangled name
> you get at runtime)? I wasn't able to find any way to do this. My original
> idea was actually to use the fully qualified typenames to create the
> ordering.
T.stringof where T is some type gives you the name of the type at
compile time.
Jens
More information about the Digitalmars-d
mailing list