Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've read a couple posts on the subject and it sounds hairy. But I think people are talking about using STL containers for Objective-C objects. I'm using pure C++.

share|improve this question
It depends on your knowledge of memory allocations, pointers, references, copy constructors, etc... – jv42 Nov 7 '11 at 9:50
"But I think people are talking about using STL containers for objective-c objects." No one is talking about this. – user744 Nov 7 '11 at 11:03
possible duplicate of Is the STL efficient enough for mobile devices? – user744 Nov 7 '11 at 11:03
I don't know. Is it? – dcousens Nov 7 '11 at 11:48
The problem with this question is that you're asking "can I use this package of code" without giving any details about your use case, or seemingly doing any research at all (other than your note about STL containers for Objective-C objects, which shows you're misunderstanding what most people are getting at). And "Okay" in what sense -- why would you be concerned about using the STL? If it's speed related, do you have any specific use cases you're concerned about? What would your alternatives be? – Tetrad Nov 7 '11 at 17:33
up vote 9 down vote accepted

Short answer: yes

Long answer: depends on your use case. But probably yes.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.