]> git.lyx.org Git - lyx.git/blob - src/support/functional.h
47d9c4596646169be53ff5b56a3f9625352b0891
[lyx.git] / src / support / functional.h
1 // -*- C++ -*-
2 /**
3  * \file functional.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_FUNCTIONAL_H
13 #define LYX_FUNCTIONAL_H
14
15 #ifdef LYX_USE_TR1
16
17 #include <functional>
18
19 #ifdef __GNUC__
20 #include <tr1/functional>
21 #endif
22
23 namespace lyx
24 {
25         using std::tr1::function;
26 }
27
28 #else
29
30 #include <boost/function.hpp>
31 #include <boost/functional.hpp>
32
33 namespace lyx
34 {
35         using boost::function;
36 }
37
38 #endif
39
40
41 #endif