大约有 45,000 项符合查询结果(耗时:0.0836秒) [XML]

https://www.tsingfun.com/it/cp... 

调用空智能指针对象的函数,Wi<em>nem>dows及Li<em>nem>ux行为解析 - C/C++ - 清泛网 - 专...

调用空智能指针对象的函数,Wi<em>nem>dows及Li<em>nem>ux行为解析empty_shared_ptr_call先看结论:Wi<em>nem>dows下可以调用空智能指针对象的函数,但是函数中访问目标对象的成员变量会崩溃,this指针为<em>nem>ullptr;Li<em>nem>ux下Debug版本及不开优化版本也能正常运行...
https://bbs.tsingfun.com/thread-765-1-1.html 

shared_ptr指针被赋值后,原指针会引用清零、自动释放。 - C/C++ - 清泛IT...

...赋值后,原指针会引用清零、自动释放。 std::shared_ptr&lt;i<em>nem>t&gt; i<em>nem>tg; void foo(std::shared_ptr&lt;i<em>nem>t&gt; p) { &<em>nem>bsp; &<em>nem>bsp;&<em>nem>bsp; &<em>nem>bsp;&<em>nem>bsp;&<em>nem>bsp;i<em>nem>tg = p;&<em>nem>bsp; &<em>nem>bsp;// 原指针释放,存储新的智能指针 &<em>nem>bsp; &<em>nem>bsp;&<em>nem>bsp; &<em>nem>bsp;&<em>nem>bsp;&<em>nem>bsp;//*(i<em>nem>tg.get()) = *(p.get...
https://www.tsingfun.com/it/os... 

Li<em>nem>ux查看进程已加载依赖模块列表信息 - 操作系统(内核) - 清泛网 - 专注C/...

Li<em>nem>ux查看进程已加载依赖模块列表信息li<em>nem>ux-proc-mapsps -elf | grep xxx(process <em>nem>ame) 找到目标程序pidcat proc (pid) mapsOpe<em>nem>Suse下也可以用 lsof -<em>nem> 查看。 ps -elf | grep xxx(process <em>nem>ame) #找到目标程序pid cat /proc/(pid)/maps Ope<em>nem>Suse下也可以用 lsof -<em>nem> 查...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网 - 专注IT技能提升

...值给CComQIPtr的时候,CComQIPtr会自动的调用接口指针的QueryI<em>nem>terface接口,来获得对应的正确的接口指针。CComPtr和CComQIPtr是智能接口指针类,它们在销毁的时候,不需要手动去释放接口指针,在赋值的时候,也不需要手动的AddRef,在...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网移动版 - 专注IT技能提升

...值给CComQIPtr的时候,CComQIPtr会自动的调用接口指针的QueryI<em>nem>terface接口,来获得对应的正确的接口指针。CComPtr和CComQIPtr是智能接口指针类,它们在销毁的时候,不需要手动去释放接口指针,在赋值的时候,也不需要手动的AddRef,在...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网移动版 - 专注IT技能提升

...值给CComQIPtr的时候,CComQIPtr会自动的调用接口指针的QueryI<em>nem>terface接口,来获得对应的正确的接口指针。CComPtr和CComQIPtr是智能接口指针类,它们在销毁的时候,不需要手动去释放接口指针,在赋值的时候,也不需要手动的AddRef,在...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网移动版 - 专注IT技能提升

...值给CComQIPtr的时候,CComQIPtr会自动的调用接口指针的QueryI<em>nem>terface接口,来获得对应的正确的接口指针。CComPtr和CComQIPtr是智能接口指针类,它们在销毁的时候,不需要手动去释放接口指针,在赋值的时候,也不需要手动的AddRef,在...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网 - 专注IT技能提升

...值给CComQIPtr的时候,CComQIPtr会自动的调用接口指针的QueryI<em>nem>terface接口,来获得对应的正确的接口指针。CComPtr和CComQIPtr是智能接口指针类,它们在销毁的时候,不需要手动去释放接口指针,在赋值的时候,也不需要手动的AddRef,在...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网移动版 - 专注IT技能提升

...值给CComQIPtr的时候,CComQIPtr会自动的调用接口指针的QueryI<em>nem>terface接口,来获得对应的正确的接口指针。CComPtr和CComQIPtr是智能接口指针类,它们在销毁的时候,不需要手动去释放接口指针,在赋值的时候,也不需要手动的AddRef,在...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网 - 专注IT技能提升

...值给CComQIPtr的时候,CComQIPtr会自动的调用接口指针的QueryI<em>nem>terface接口,来获得对应的正确的接口指针。CComPtr和CComQIPtr是智能接口指针类,它们在销毁的时候,不需要手动去释放接口指针,在赋值的时候,也不需要手动的AddRef,在...