shared_ptr 是一引用计数 (reference-counted) 指针,其行为与一般 C++ 指针即为相似。在 TR1 的实现中,缺少了一些一般指针所拥有的特色,像是别名或是指针运算。
基于36个网页-相关网页
这对像整数这种不是参考计数(reference-counted)的型别来说是很琐碎的事情,但是对于其他是参考计数的复杂物件来说,是必要的。
基于16个网页-相关网页
However, you must remember to run the reference counting functions whenever you are using a reference-counted data structure.
不过,当您使用某个采用引用计数的数据结构时,您必须记得运行引用计数函数。
youdao
All counting ultimately involves reference to something other than the things being counted.
所有的计数最终都涉及到被计数物之外的其他事物。
应用推荐
模块上移
模块下移
不移动