[Issue 5140] Add __FUNCTION__

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 10 23:24:09 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5140



--- Comment #6 from Rob T <alanb at ucora.com> 2013-01-10 23:24:01 PST ---
(In reply to comment #2)
> See a better explanations and some examples of __function:
> http://rosettacode.org/wiki/Anonymous_recursion
> 

I really would love to have the ability to perform anonymous recursion.

As for the name __FUNCTION__ I don't really like the convention either, but
since it is related to __LINE__ and __FILE__, you'd probably have to depreciate
those too so as to remain consistent.

This is great news if it gets accepted because I need it for log tracing, but
I'd also like to see a version of this that displays the full function
signature which allows you to see which overload or template version was
called. I don't know if the patch does this or not. 

--rt

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list