]> git.lyx.org Git - features.git/blob - src/support/bind.h
build with GCC
[features.git] / src / support / bind.h
1 // -*- C++ -*-
2 /**
3  * \file bind.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_BIND_H
13 #define LYX_BIND_H
14
15 #if defined(_MSC_VER) && (_MSC_VER >= 1600)
16
17 #include <functional>
18 using std::tr1::bind;
19 using std::tr1::placeholders::_1;
20 using std::tr1::placeholders::_2;
21 using std::tr1::ref;
22
23 #else
24
25 #include "boost/bind.hpp"
26 using boost::bind;
27 using boost::ref;
28
29 #endif
30
31
32 #endif