Does anybody know if it is possible to use the standard unique_ptr with iphone sdk? I have been looking through and it doesn’t seem to exist. Perhaps the gcc version include does not support it yet?.
I know that there are a boost version that emulates the standard behaviour but I would like to use the standard if possible.
Try Xcode 4.2. But it won’t be enabled by default. Open your build settings. You need to choose under “C++ Standard Library”, “libc++”. Also the C++03 support for
unique_ptris not very good. To get the best experience also choose under “C++ Language Dialect”, “C++0x”.