www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Unqualified __FUNCTION__

reply =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
Is there an unqualified version of __FUNCTION__ that returns just

     treeContentId

instead of

     fs.Dir.treeContentId

?
Jun 26 2014
parent "bearophile" <bearophileHUGS lycos.com> writes:
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
Jun 26 2014