On Dec 14, 2008, at 6:34 AM, Guillaume Laurent wrote:

I need to create an array of values of a specific type, and I'd prefer to have it as a set of values rather than pointer to values (mostly performance reasons), so not an NSMutableArray. I couldn't find anything in Cocoa to do this, am I missing something or is it just not a "Cocoa-ish" way of doing things ? :-)

It's not the Cocoa way of doing things, for a whole raft of reasons.

However, if you use Objective-C++, you can just go ahead and use std::vector.

Cheers,
Ken

_______________________________________________

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 arch...@mail-archive.com

Reply via email to