• 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: Sat, 11 Feb 2006 12:39:11 -0700
  • Thread-topic: Objective-C++, class scope constants, name conflicts

> ...since you're using it in objective c++, define it inside a
> NAMESPACE in the header
> file.

That's what I ended up doing. The discussion has brought up some other
alternatives which I'll look at if I have a similar problem in the future,
or am reworking things to use bindings. But for now the namespace works,
especially since there were already associated namespaces defined for the
data model and I didn't have to create new ones just for this one purpose.

--
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

  • Follow-Ups:
    • Re: Objective-C++, class scope constants, name conflicts
      • From: Keith Ray <email@hidden>
References: 
 >Re: Objective-C++, class scope constants, name conflicts (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Re: frontmost document window (of all running apps)?
  • Next by Date: Re: Modifying Info.plist at runtime
  • 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