• 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: Objective-C++, class scope constants, name conflicts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C++, class scope constants, name conflicts


  • Subject: Re: Objective-C++, class scope constants, name conflicts
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 10 Feb 2006 18:39:27 -0700
  • Thread-topic: Objective-C++, class scope constants, name conflicts

> Correct - there is no scope introduced by @interface..@end in
> Objective-C(++) (other than the implicit anonymous structure field
> scope for ivars, which doesn't do what you need anyway).

OK. Seems odd from the semantic viewpoint to not allow class-scope
constants. But your message's reference to the anonymous struct made me
realize that it might require a whole new area of implementation effort
compared to the way it is now...


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Objective-C++, class scope constants, name conflicts (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: Is C's parameter passing more-efficient than ObjC's message passing?
  • Next by Date: Re: Objective-C++, class scope constants, name conflicts
  • Previous by thread: Re: Objective-C++, class scope constants, name conflicts
  • Next by thread: Re: Objective-C++, class scope constants, name conflicts
  • Index(es):
    • Date
    • Thread