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_FUNCTIONAL_H
13 #define LYX_FUNCTIONAL_H
20 #include <tr1/functional>
23 #define LYX_FUNCTIONAL_NS std::tr1
25 #elif __cplusplus >= 201103L
28 #define LYX_FUNCTIONAL_NS std
32 #include <boost/function.hpp>
33 #include <boost/functional.hpp>
34 #define LYX_FUNCTIONAL_NS boost
40 using LYX_FUNCTIONAL_NS::function;
43 #undef LYX_FUNCTIONAL_NS