0
\$\begingroup\$

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

\$\endgroup\$
5
  • \$\begingroup\$ It depends on your knowledge of memory allocations, pointers, references, copy constructors, etc... \$\endgroup\$
    – jv42
    Commented Nov 7, 2011 at 9:50
  • 1
    \$\begingroup\$ "But I think people are talking about using STL containers for objective-c objects." No one is talking about this. \$\endgroup\$
    – user744
    Commented Nov 7, 2011 at 11:03
  • 1
    \$\begingroup\$ possible duplicate of Is the STL efficient enough for mobile devices? \$\endgroup\$
    – user744
    Commented Nov 7, 2011 at 11:03
  • \$\begingroup\$ I don't know. Is it? \$\endgroup\$ Commented Nov 7, 2011 at 11:48
  • \$\begingroup\$ 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? \$\endgroup\$
    – Tetrad
    Commented Nov 7, 2011 at 17:33

1 Answer 1

8
\$\begingroup\$

Short answer: yes

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

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .