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

master
Marc Wäckerlin 11 years ago
parent ebdbb49761
commit fc12d84441
  1. 1
      src/mrw/checkcxx11.hxx

@ -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

Loading…
Cancel
Save