智能指針shared_ptr【無鎖設計基於GCC】
1. shared_ptr 介紹 使用過Boost的話對shared_ptr一定有很深的印象。多個shared_ptr指向同一個對象,每個shared_ptr會使對象的引用計數加+1,當引用計數 ...
1. shared_ptr 介紹 使用過Boost的話對shared_ptr一定有很深的印象。多個shared_ptr指向同一個對象,每個shared_ptr會使對象的引用計數加+1,當引用計數 ...