New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
function_equal.hpp in vendors/XIOS/current/extern/boost/include/boost – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/function_equal.hpp @ 3408

Last change on this file since 3408 was 3408, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

  • Property svn:keywords set to Id
File size: 791 bytes
Line 
1//  Copyright Douglas Gregor 2004.
2//  Copyright 2005 Peter Dimov
3
4//  Use, modification and distribution is subject to
5//  the Boost Software License, Version 1.0.
6//  (See accompanying file LICENSE_1_0.txt or copy at
7//  http://www.boost.org/LICENSE_1_0.txt)
8
9// For more information, see http://www.boost.org
10#ifndef BOOST_FUNCTION_EQUAL_HPP
11#define BOOST_FUNCTION_EQUAL_HPP
12
13namespace boost {
14
15template<typename F, typename G>
16  bool function_equal_impl(const F& f, const G& g, long)
17  { return f == g; }
18
19// function_equal_impl needs to be unqualified to pick
20// user overloads on two-phase compilers
21
22template<typename F, typename G>
23  bool function_equal(const F& f, const G& g)
24  { return function_equal_impl(f, g, 0); }
25
26} // end namespace boost
27
28#endif // BOOST_FUNCTION_EQUAL_HPP
Note: See TracBrowser for help on using the repository browser.