On Mon, Apr 19, 2010 at 9:27 AM, Jean-Daniel Dupas
<devli...@shadowlab.org> wrote:
> It is fine for most cases, but __func__ is defined at compile time, and so, 
> does not log the real type of the instance (if this is a subclass).
>

Hmmm, that's too bad.  Seems to be the case for __FUNCTION__ and
__PRETTY_FUNCTION__ as well;  All of them produce the appropriate + or
-, but they also all show the name of the class where the method is
defined, even if called on a subclass.

-- 
// jack
// http://nuthole.com
// http://learncocoa.org
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to