shared_ptr is already in C++03 pre-releases; refs #7
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# ifdef MRW__OLD_PRE11_COMPILER
|
# ifdef MRW__OLD_PRE11_COMPILER
|
||||||
|
# if __cplusplus > 200300L
|
||||||
# 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
|
||||||
@@ -38,5 +39,6 @@ namespace std {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user