Objective-C??C++???????
???????????? ???????[ 2014/12/26 13:34:35 ] ????????C++ net
????????????????????????????????д????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??????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
??C++????????????C++ lvalue??rvalueC++11????????C++???????????????C++?е?????????????????C++?????????C++???Windows????λ??C/C++???????????????????JAVA??C??C++??????????c++??python???????????????????????????????C++???????C++?е????????C++????????????????C++ ???????????????C++?????????????????????C++????????????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????