]> git.lyx.org Git - lyx.git/blob - src/support/shared_ptr.h
msvcUsing "using namespace std" with msvc10 makes also std::tr1::shared_ptr visible...
[lyx.git] / src / support / shared_ptr.h
1 // -*- C++ -*-
2 /**
3  * \file shared_ptr.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Peter Kümmel
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef LYX_SHARED_PTR_H
13 #define LYX_SHARED_PTR_H
14
15 #if defined(_MSC_VER) && (_MSC_VER >= 1600)
16
17 #include <memory>
18 using std::tr1::shared_ptr;
19
20 #else
21
22 #include <boost/shared_ptr.hpp>
23 using boost::shared_ptr;
24
25 #endif
26
27
28 #endif