shared_ptr is already in C++03 pre-releases; refs #7
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
# ifdef MRW__OLD_PRE11_COMPILER
|
# ifdef MRW__OLD_PRE11_COMPILER
|
||||||
# if __cplusplus <= 199711
|
# if __cplusplus <= 199711
|
||||||
|
# warning compiler is older than 11/1997, emulate std::shared_ptr
|
||||||
# include <boost/shared_ptr.hpp>
|
# include <boost/shared_ptr.hpp>
|
||||||
namespace std {
|
namespace std {
|
||||||
// there is no std::shared_ptr in pre C++11 compilers, so we use the
|
// there is no std::shared_ptr in pre C++11 compilers, so we use the
|
||||||
|
Reference in New Issue
Block a user