Unqualified __FUNCTION__

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 26 04:13:05 PDT 2014


Nordlöw:

> Is there an unqualified version of __FUNCTION__ that returns 
> just
>
>     treeContentId
>
> instead of
>
>     fs.Dir.treeContentId
>
> ?

I suggest to use the string functions to strip the part you need.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list