随笔分类 -  STL source code

摘要://shared_ptr 源码中的对象引用次数 自增的实现,代码位于 memory文件中, //其中 _MT_INCR 的定义是:#define _MT_INCR(x) _INTRIN_RELAXED(_InterlockedIncrement)(reinterpret_cast<volatile 阅读全文
posted @ 2020-12-27 16:36 zeroPatrick 阅读(927) 评论(0) 推荐(1)