[Issue 5140] Add __FUNCTION__

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 11 00:05:36 PST 2013


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



--- Comment #7 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-01-11 00:05:34 PST ---
__FUNCTION__ is already used by some C/C++ compilers just like __FILE__ and
__LINE__, so there's a fair bit of precedence for it, and it goes well with
__FILE__ and __LINE__.

Personally, I don't care about anonymous recursion and see no need for them,
but I don't see __FUNCTION__ as conflicting with __function at all. They do two
entirely different things. __FUNCTION__ is a string, whereas __function is an
alias to the function that it's used in.

-- 
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