12 Oct
2016
12 Oct
'16
11:09 p.m.
On Wed, Oct 12, 2016 at 6:58 PM, Edward Diener
You are designing or working on a library, perhaps for Boost, perhaps for fun, and part of the design of the library has some public functionality taking a shared pointer as input. You: ... 2) Use std::shared_ptr
I would use std::shared_ptr and I'll answer the broader version of your question. For my libraries, I assume C++11. Its too much work to try to support older compilers. There are so many features and advantages to having C++11 as the minimum language support that it is a very logical choice to require it.