Differences between tr1::shared_ptr and boost::sha

2020-03-09 20:02发布

问题:

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

回答1:

No, the documentation of boost shared_ptr says:

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