Possible to use STL in Cocoa App?
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.