Re: programming in C++ ?
Re: programming in C++ ?
- Subject: Re: programming in C++ ?
- From: John Stiles <email@hidden>
- Date: Fri, 01 Feb 2008 09:35:51 -0800
Well, most C++ code should be using new and not malloc() anyway.
malloc() is a holdover from the Bad Untyped Days of C.
Thomas Engelmeier wrote:
On 31.01.2008, at 18:25, John Stiles wrote:
I've used a lot of ObjC++ and I haven't had any problems with
assigning ids. It seems to work just like you would expect.
Jepp. In contrary to my brain with a lack of caffeine, apparently.
When I recently .mm-iefied an Objective-C (sample code) file I had to
add tons of casts for the assignments of (void *) malloc result to
char pointers, but not for id to NSAnything assignments...
Sorry for the noise..
Regards,
Tom_E
_______________________________________________
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