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
15 #if __cplusplus >= 201103L
18 #define LYX_SHAREDPTR_NS std
22 #include <boost/shared_ptr.hpp>
23 #define LYX_SHAREDPTR_NS boost
29 using LYX_SHAREDPTR_NS::shared_ptr;
30 using LYX_SHAREDPTR_NS::const_pointer_cast;
33 #undef LYX_SHAREDPTR_NS