shared_ptr is already in C++03 pre-releases; refs #7

This commit is contained in:
Marc Wäckerlin
2013-09-27 13:28:30 +00:00
parent ebdbb49761
commit fc12d84441

View File

@@ -29,6 +29,7 @@
# ifdef MRW__OLD_PRE11_COMPILER
# if __cplusplus <= 199711
# warning compiler is older than 11/1997, emulate std::shared_ptr
# include <boost/shared_ptr.hpp>
namespace std {
// there is no std::shared_ptr in pre C++11 compilers, so we use the