4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef LYX_SHARED_PTR_H
13 #define LYX_SHARED_PTR_H
23 #define LYX_SHAREDPTR_NS std::tr1
25 #elif __cplusplus >= 201103L
28 #define LYX_SHAREDPTR_NS std
32 #include <boost/shared_ptr.hpp>
33 #define LYX_SHAREDPTR_NS boost
39 using LYX_SHAREDPTR_NS::shared_ptr;
40 using LYX_SHAREDPTR_NS::const_pointer_cast;
43 #undef LYX_SHAREDPTR_NS