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.
15 #include "support/functional.h"
19 #define LYX_BIND_NS std::tr1
23 using std::tr1::placeholders::_1;
24 using std::tr1::placeholders::_2;
27 #elif __cplusplus >= 201103L
29 #define LYX_BIND_NS std
33 using std::placeholders::_1;
34 using std::placeholders::_2;
39 #include <boost/bind.hpp>
40 #define LYX_BIND_NS boost
46 using LYX_BIND_NS::bind;
47 using LYX_BIND_NS::ref;