[cfe-dev] Suggestion for C++ migration tool: tr1 removal
Anton Korobeynikov
anton at korobeynikov.info
Sun Mar 3 10:13:59 PST 2013
Minor nit-pick:
> #if defined(OS_APPLE) || defined(CXX_CLANG)
This should check the standard library type / version, not a compiler.
> # include <tr1/memory>
> using std::tr1::shared_ptr;
> #else
> # include <memory>
> using std::shared_ptr;
> #endif
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the cfe-dev
mailing list