mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 11:32:21 +00:00
af928c503d
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34730 a592a061-630c-0410-9148-cb99ea01b6c8
45 lines
613 B
C++
45 lines
613 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file bind.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Peter Kümmel
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef LYX_BIND_H
|
|
#define LYX_BIND_H
|
|
|
|
#ifdef LYX_USE_TR1
|
|
|
|
#include <functional>
|
|
|
|
#ifdef __GNUC__
|
|
#include <tr1/functional>
|
|
#endif
|
|
|
|
namespace lyx
|
|
{
|
|
using std::tr1::bind;
|
|
using std::tr1::placeholders::_1;
|
|
using std::tr1::placeholders::_2;
|
|
using std::tr1::ref;
|
|
}
|
|
|
|
#else
|
|
|
|
#include <boost/bind.hpp>
|
|
|
|
namespace lyx
|
|
{
|
|
using boost::bind;
|
|
using boost::ref;
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
#endif
|