• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Private Method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Private Method? (From: Bryan Harrison <email@hidden>)
 >Re: Private Method? (From: Joar Wingfors <email@hidden>)
 >Re: Private Method? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Private Method? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: ObjectController preventing WindowController from releasing
  • Next by Date: Re: Private Method?
  • Previous by thread: Re: Private Method?
  • Next by thread: Re: Private Method?
  • Index(es):
    • Date
    • Thread