• 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: Declaring a property named "private" and ObjC++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Declaring a property named "private" and ObjC++


  • Subject: Re: Declaring a property named "private" and ObjC++
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 28 Sep 2010 18:09:18 -0600

On Sep 28, 2010, at 6:07 PM, Greg Parker wrote:

>> How do I create a property for a class named "private" and not have the Objective-C++ compiler trip on it?
>
> You can't. C++ reserved words are unavailable for use in Objective-C++. The only exception is in method names.

Okay, thank you for clarifying that.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: 
 >Declaring a property named "private" and ObjC++ (From: Nick Zitzmann <email@hidden>)
 >Re: Declaring a property named "private" and ObjC++ (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: Declaring a property named "private" and ObjC++
  • Next by Date: Re: Declaring a property named "private" and ObjC++
  • Previous by thread: Re: Declaring a property named "private" and ObjC++
  • Next by thread: Re: Declaring a property named "private" and ObjC++
  • Index(es):
    • Date
    • Thread