摘要: sp,究竟是smart pointer还是strong pointer呢?其实我后来发现不用太关注这个,就把它当做一个普通的指针看待,即sp<IServiceManager> 》IServiceManager*吧。sp是google搞出来的为了方便C/C++程序员管理指针的分配和释放的一套方法,类似 阅读全文
posted @ 2017-03-01 19:38 knightsoul 阅读(940) 评论(0) 推荐(0) 编辑