Re: Private Method?
Re: Private Method?
- Subject: Re: Private Method?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 07 Nov 2011 18:37:54 +0100
Le 7 nov. 2011 à 16:19, Kyle Sluder a écrit :
> On Nov 7, 2011, at 4:10 AM, Jean-Daniel Dupas <email@hidden> wrote:
>
>>
>> Le 7 nov. 2011 à 08:49, Joar Wingfors a écrit :
>>
>>>
>>> In OjbC you don't need to provide declarations for a method "foo" if all callers of foo can "see" the definition of foo (ie. if they are themselves defined *after* foo). The definition also serves as a declaration in such a case.
>>
>> Note that the 'defined after' constraint is merely a compiler limitation. Recent clang builds don't require this anymore. You can defined your private methods anywhere in the implementation.
>
> Well this is certainly a welcome development. Is this documented or announced anywhere? I don't (currently) subscribe to any clang mailing lists.
>
> --Kyle Sluder
I don't remember of any announce, but you read see the svn log:
http://llvm.org/viewvc/llvm-project?view=rev&revision=138865
-- Jean-Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden