• 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
Possible to use STL in Cocoa App?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible to use STL in Cocoa App?


  • Subject: Possible to use STL in Cocoa App?
  • From: Chris Purcell <email@hidden>
  • Date: Sat, 6 Apr 2002 13:06:27 +0100

I have two suggestions:
1) Check you are using C++/Objective C++ files (.cpp or .mm). I expect you know this.
2) Include the headers that have mem_fun and for_each in. for_each is in <algorithm>, I believe, while mem_fun is in <functional>.

Hope that helps
Kritter out

I was getting two compilation errors:

implicit declaration of function 'int mem_fun(...)'
implicit declaration of function 'int for_each(...)'
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: AppleScript in Cocoa code
  • Next by Date: Re: AppleScript in Cocoa code
  • Previous by thread: Re: Possible to use STL in Cocoa App? - SOLVED
  • Next by thread: [OT](ish) - Short Job in London
  • Index(es):
    • Date
    • Thread