花費 7 ms
C++智能指針剖析(下)boost::shared_ptr&其他

1. boost::shared_ptr 前面我已經講解了兩個比較簡單的智能指針,它們都有各自的優缺點。由於 boost::scoped_ptr 獨享所有權,當我們真真需要復制智能指針時,需求便滿足 ...

Fri May 12 05:02:00 CST 2017 0 3997
有關智能指針(shared_ptr)的討論

1. boost::shared_ptr的用法 2. boost::shared_ptr的實現機制 3. 使用boost::shared_ptr的注意事項 4. std::tr1::shared_pt ...

Tue Feb 26 09:27:00 CST 2013 2 8511

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM