1 // Copyright Douglas Gregor 2004.
\r
2 // Copyright 2005 Peter Dimov
\r
4 // Use, modification and distribution is subject to
\r
5 // the Boost Software License, Version 1.0.
\r
6 // (See accompanying file LICENSE_1_0.txt or copy at
\r
7 // http://www.boost.org/LICENSE_1_0.txt)
\r
9 // For more information, see http://www.boost.org
\r
10 #ifndef BOOST_FUNCTION_EQUAL_HPP
\r
11 #define BOOST_FUNCTION_EQUAL_HPP
\r
15 template<typename F, typename G>
\r
16 bool function_equal_impl(const F& f, const G& g, long)
\r
19 // function_equal_impl needs to be unqualified to pick
\r
20 // user overloads on two-phase compilers
\r
22 template<typename F, typename G>
\r
23 bool function_equal(const F& f, const G& g)
\r
24 { return function_equal_impl(f, g, 0); }
\r
26 } // end namespace boost
\r
28 #endif // BOOST_FUNCTION_EQUAL_HPP
\r