摘要:
,Item 13 introduces the idea of using smart pointers like auto_ptr or tr1::shared_ptr to hold the result of a call to a factory function like createIn 阅读全文
posted @ 2021-09-02 19:40
MyCPlusPlus
阅读(64)
评论(0)
推荐(0)
摘要:
For example, suppose you’re using a C API to manipulate mutex objects of type Mutex offering functions lock and unlock: void lock(Mutex *pm); // lock 阅读全文
posted @ 2021-09-02 17:38
MyCPlusPlus
阅读(46)
评论(0)
推荐(0)

浙公网安备 33010602011771号