????????????????????????????????д????OC++????????????__cplusplus??__OBJC__???????????????????C++??OC??    ?????????OC++??????C++??????OC???????????OC??????C++????
????class Base { /* ... */ };
????@interface ObjCClass: Base ... @end // ERROR!
????class Derived: public ObjCClass ... // ERROR!
?????? OC????????C++????????????????????????????????????????????????????????????????????????OC??C++??????????е????????? ???????????????????????????????????????????????????????Ч????????????????ν??????????
???????????OC?????????C++????????????Щ?????????????????????????????????棺
????@interface Foo {
????class Bar { ... } // OK
????}
????@end
????Bar *barPtr; // OK
????OC????C?????????????????????????????OC?????????
????@interface Foo {
????struct CStruct { ... };
????struct CStruct bigIvar; // OK
????} ... @end
????Mac OS X 10.4????????????fobjc- call-cxx-cdtors??????????????????e????麯??????????????????????????????????????????C++????????????????? ??gcc-4.2???????????????fobjc-call-cpp-cdtors????OC???????alloc?????alloc???????????????ù??? ????????????ù????????????????????OC???????dealloc????dealloc???????????????????????????????    OC??????????????????C++?????????????OC?????????OC??????????????
????OC??Э?飬????????????C++ template??C++ template???????????OC????Э?飬??????Χ???
?????????OC???????C++ template???????C++ template???????????OC???????????????????????????selector????
????C++??????????
????OC?????ж??????Щ??????????е?OC???????????????Щ??????id??Class??SEL??IMP??BOOL??
????OC????????????????????????self??super????C++?е?????this????C++??this????????self??super?????????????OC?????????????????????????????
????Э?????????????б????5?????????????????oneway??in??out??inout??bycopy??????Щ???????????в????????
?????? OC???????????????C++??????????μ??????????????????C++????????OC selector???????????????????????????????????????OC???????????????磬????class??C++?????????????????????? NSObject?????class??
????[foo class]; // OK
???????????????????????????????class???????????
????NSObject *class; // Error
????OC??????????????е????????????@interface foo??@interface(foo)????????????????????С?OC++?????????C++?е??????????????????????
????Э???template??????????????????????
????id<someProtocolName> foo;
????TemplateType<SomeTypeName> bar;
???????????????????????????????????id??template?????    ??C++??????????壬?????label???????????????????????????????????棺
????label: ::global_name = 3;
?????????e???????????OC++?????????????????????
????receiver selector: ::global_c++_name;
????????
????OC++ ????OC??????C++???????????C++??????OC?????????磬??????OC??????C++??????????OC???????????????????????????? ???this??self?????滻??á?????????????????C++??????OC??OC?????????C++??????????????????????????? ????????OC????????????C++????????????C++????????????????OC??????