0

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++.

Ryan
  • 887
  • 2
  • 8
  • 10
  • It depends on your knowledge of memory allocations, pointers, references, copy constructors, etc... – jv42 Nov 07 '11 at 09:50
  • 1
    "But I think people are talking about using STL containers for objective-c objects." No one is talking about this. –  Nov 07 '11 at 11:03
  • 1
  • I don't know. Is it? – hiddensunset4 Nov 07 '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 07 '11 at 17:33

1 Answers1

8

Short answer: yes

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

Tetrad
  • 30,124
  • 12
  • 94
  • 143