
2020_11_09
shared_ptr shared_ptr采用引用计数的方式管理所指向的对象。当有一个新的shared_ptr指向同一个对象时(复制shared_ptr等),引用计数加1。当shared_ptr离开作用域时,引用计数...
shared_ptr shared_ptr采用引用计数的方式管理所指向的对象。当有一个新的shared_ptr指向同一个对象时(复制shared_ptr等),引用计数加1。当shared_ptr离开作用域时,引用计数...
GetMessage和PeekMessage PeekMessage在处理获得消息时候和GetMessage一样,关键不同的是PeekMessage在没有消息处理的时候还会继续保持循环激活状态,并且继续占用资源。 G...
Windebug WinDbg相关 生产者消费者 #include <condition_variable> #include <iostream> #include <mutex>...
两个栈实现队列 #include <iostream> #include <stack> using namespace std; template <class T> class...
搜索当前分类