On Thu, Feb 19, 2009 at 10:29 AM, Leo Singer <doc.aron...@gmail.com> wrote:
> A std::vector would be unsuitable also because in my actual > application (not the cooked example I sent out) I need to be able to > manipulate that memory directly. Not true; std::vector's memory is guaranteed to be contiguous; you can treat it exactly as you did your raw array before. std::vector is *exactly* what you want in this case; it meets every requirement that you've stated. -- Clark S. Cox III clarkc...@gmail.com _______________________________________________ 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