What is a smart pointer and should I use it?
什么是smartpointer( 智能指针),我必须用它 吗 ?
互联网
The user allocates the object, but the smart pointer class deletes it.
用户分配对象, 但由智能指针类删除它.
互联网
Visual C ++ includes a standard Microsoft COM smart pointer, defined in the comdef.
当然你也可以不用它们.
互联网
In particular , there are standard smart pointer classes designed to encapsulate COM interface pointers.
通常情况下, 我们有专门封装COM接口指针的的标准智能指针类.
互联网