TR1 :: shared_ptr的和boost :: shared_ptr的之间的差异? [英] Differences between tr1::shared_ptr and boost::shared_ptr?

查看:172
本文介绍了TR1 :: shared_ptr的和boost :: shared_ptr的之间的差异?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何区别 TR1 :: shared_ptr的的boost :: shared_ptr的?如果有,是什么?

Are there any difference between tr1::shared_ptr and boost::shared_ptr? If so, what?

推荐答案

没有,升压shared_ptr的的文件说:

No, the documentation of boost shared_ptr says:

这实现符合
  TR1的说明书中,与仅
  它驻留在命名空间异常
  提高的std :: TR1代替。

This implementation conforms to the TR1 specification, with the only exception that it resides in namespace boost instead of std::tr1.

这篇关于TR1 :: shared_ptr的和boost :: shared_ptr的之间的差异?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆