• 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
Mixing ObjC and C++ STL on same ObjC source file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mixing ObjC and C++ STL on same ObjC source file


  • Subject: Mixing ObjC and C++ STL on same ObjC source file
  • From: Daniel Luis dos Santos <email@hidden>
  • Date: Fri, 12 Sep 2008 09:17:57 +0100

Hello !

I have an objective C class and want to call a method on a class in C++. As argument to the C++ class is a map instance of the STL.
The ObjC class definition is on a file with a mm extension.

I have std::map *var as a member variable of the ObjC class. When I compile the code there is an error saying :

/Users/dlsa/code/Finema/trunk/LiquidSurfaces/src/CVDisplayPipeline.h:20: error: using-declaration for non-member at class scope

How do I do this ?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mixing ObjC and C++ STL on same ObjC source file
      • From: Dave Carrigan <email@hidden>
    • Re: Mixing ObjC and C++ STL on same ObjC source file
      • From: email@hidden
  • Prev by Date: Re: Moving Xcode Projects
  • Next by Date: Re: Mixing ObjC and C++ STL on same ObjC source file
  • Previous by thread: Re: Moving Xcode Projects
  • Next by thread: Re: Mixing ObjC and C++ STL on same ObjC source file
  • Index(es):
    • Date
    • Thread