mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-16 07:55:41 +00:00
c259957b69
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35735 a592a061-630c-0410-9148-cb99ea01b6c8
42 lines
564 B
C++
42 lines
564 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file functional.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_FUNCTIONAL_H
|
|
#define LYX_FUNCTIONAL_H
|
|
|
|
#ifdef LYX_USE_TR1
|
|
|
|
#include <functional>
|
|
|
|
#ifdef __GNUC__
|
|
#include <tr1/functional>
|
|
#endif
|
|
|
|
namespace lyx
|
|
{
|
|
using std::tr1::function;
|
|
}
|
|
|
|
#else
|
|
|
|
#include <boost/function.hpp>
|
|
#include <boost/functional.hpp>
|
|
|
|
namespace lyx
|
|
{
|
|
using boost::function;
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
#endif
|