Re: Mixing C++ and Obj-C (odd compile errors)
Re: Mixing C++ and Obj-C (odd compile errors)
- Subject: Re: Mixing C++ and Obj-C (odd compile errors)
- From: Shawn Erickson <email@hidden>
- Date: Sun, 16 Sep 2007 07:03:51 -0700
On Sep 16, 2007, at 3:52 AM, Brad Peterson wrote:
Hi all,
I'm trying to include some C++ code in my
Cocoa/Foundation tool, and I'm getting a lot of
strange errors when compiling.
Specifically, a section like this:
Likely an issue of not using typename correctly, for example in the
below.
template<class T>
WORD get_next_id(typename const std::map<WORD, T>& map_cont)
{
typename std::map<WORD, T>::const_iterator it =
map_cont.begin();
_______________________________________________
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