Re: Declaring a property named "private" and ObjC++
Re: Declaring a property named "private" and ObjC++
- Subject: Re: Declaring a property named "private" and ObjC++
- From: Greg Parker <email@hidden>
- Date: Tue, 28 Sep 2010 17:07:24 -0700
On Sep 28, 2010, at 4:19 PM, Nick Zitzmann wrote:
> Okay, I tried searching, and didn't find anything pertinent...
>
> 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.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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