Blame boost/function_equal.hpp

Packit 58578d
//  Copyright Douglas Gregor 2004.
Packit 58578d
//  Copyright 2005 Peter Dimov
Packit 58578d
Packit 58578d
//  Use, modification and distribution is subject to
Packit 58578d
//  the Boost Software License, Version 1.0.
Packit 58578d
//  (See accompanying file LICENSE_1_0.txt or copy at
Packit 58578d
//  http://www.boost.org/LICENSE_1_0.txt)
Packit 58578d
Packit 58578d
// For more information, see http://www.boost.org
Packit 58578d
#ifndef BOOST_FUNCTION_EQUAL_HPP
Packit 58578d
#define BOOST_FUNCTION_EQUAL_HPP
Packit 58578d
Packit 58578d
namespace boost {
Packit 58578d
Packit 58578d
template<typename F, typename G>
Packit 58578d
  bool function_equal_impl(const F& f, const G& g, long)
Packit 58578d
  { return f == g; }
Packit 58578d
Packit 58578d
// function_equal_impl needs to be unqualified to pick
Packit 58578d
// user overloads on two-phase compilers
Packit 58578d
Packit 58578d
template<typename F, typename G>
Packit 58578d
  bool function_equal(const F& f, const G& g)
Packit 58578d
  { return function_equal_impl(f, g, 0); }
Packit 58578d
Packit 58578d
} // end namespace boost
Packit 58578d
Packit 58578d
#endif // BOOST_FUNCTION_EQUAL_HPP