]> git.lyx.org Git - lyx.git/blob - boost/boost/function_equal.hpp
Enable tex2lyx to run in-place.
[lyx.git] / boost / boost / function_equal.hpp
1 //  Copyright Douglas Gregor 2004. Use, modification and
2 //  distribution is subject to the Boost Software License, Version
3 //  1.0. (See accompanying file LICENSE_1_0.txt or copy at
4 //  http://www.boost.org/LICENSE_1_0.txt)
5
6 // For more information, see http://www.boost.org
7 #ifndef BOOST_FUNCTION_EQUAL_HPP
8 #define BOOST_FUNCTION_EQUAL_HPP
9
10 namespace boost {
11
12 namespace detail {
13   template<typename F, typename G>
14     bool function_equal_impl(const F& f, const G& g, long)
15     { return f == g; }
16 } // end namespace boost::function
17
18 template<typename F, typename G>
19   bool function_equal(const F& f, const G& g)
20   { return ::boost::detail::function_equal_impl(f, g, 0); }
21
22 } // end namespace boost
23
24 #endif // BOOST_FUNCTION_EQUAL_HPP