On Sep 12, 2008, at 1:17 AM, Daniel Luis dos Santos wrote:

I have std::map *var as a member variable of the ObjC class.

Is this really how it's declared? std::map is a template, so you have to do something like:

  std::map<type1,type2>* var;

Or better yet:

  typedef std::map<type1,type2> my_map_type;

   ...

  my_map_type* var;

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

I've verified that this is the error that I get if I don't specify a proper template. I also get the error if I neglect to #include <map>, so that may also be your problem.

--
Dave Carrigan
[EMAIL PROTECTED]
Seattle, WA, USA

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to