I want to use some C ++ STL collections in my Objective-C iPhone app. This seems to be possible by providing the files with the extension ".mm". What are some of the quirks / surprises associated with this?
I want to use basic containers that I am familiar with (vector, queue, set, ...)
Hurrah!
. ++ Objective-C , . , . , ++ Objective-C , ++ Objective-C, ++ , Objective-C.
Objective-C ++ , -fobjc-call-cxx-cdtors g++, ++ ObjC. , .
Objective-C ++, g++, gcc, , , , . Objective-C , , Objective-C ++. , Objective-C Objective-C ++, ++ (, "id" ).
, . , Obj-C ++ .mm.