Get body of a function as string

bearophile bearophileHUGS at lycos.com
Fri Jun 28 06:18:38 PDT 2013


John Colvin:

> Is there any way of getting the body of a function as a string? 
> (Obviously only when the source code is available to the 
> compiler)

I think that currently there isn't a simple way to do it. What is 
your use case?

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list