Q: Help with compile time function

Myron Alexander someone at somewhere.com
Sun Jun 24 00:43:53 PDT 2007


Jari-Matti Mäkelä wrote:
> 
> You mean T.stringof and f.stringof ?

Exactly what I need.

> 
>>    - If I call this from a normal run-time function, will it get
>> executed at run-time as well as in compile-time?
> 
> I'm afraid that function above doesn't do anything on runtime. You need to
> use the RTTI system to get the type at runtime.

Perfect. That is what I want.

Thanks, you have helped alot.

Regards,

Myron.


More information about the Digitalmars-d-learn mailing list