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++.
\$\begingroup\$
\$\endgroup\$
5
-
\$\begingroup\$ It depends on your knowledge of memory allocations, pointers, references, copy constructors, etc... \$\endgroup\$– jv42Commented 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\$– user744Commented Nov 7, 2011 at 11:03
-
1\$\begingroup\$ possible duplicate of Is the STL efficient enough for mobile devices? \$\endgroup\$– user744Commented Nov 7, 2011 at 11:03
-
\$\begingroup\$ I don't know. Is it? \$\endgroup\$– hiddensunset4Commented 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\$– TetradCommented Nov 7, 2011 at 17:33
Add a comment
|
1 Answer
\$\begingroup\$
\$\endgroup\$
Short answer: yes
Long answer: depends on your use case. But probably yes.