Mixing ObjC and C++ STL on same ObjC source file
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 ?
_______________________________________________
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