1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/function_equal.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,28 @@
1.4 +// Copyright Douglas Gregor 2004.
1.5 +// Copyright 2005 Peter Dimov
1.6 +
1.7 +// Use, modification and distribution is subject to
1.8 +// the Boost Software License, Version 1.0.
1.9 +// (See accompanying file LICENSE_1_0.txt or copy at
1.10 +// http://www.boost.org/LICENSE_1_0.txt)
1.11 +
1.12 +// For more information, see http://www.boost.org
1.13 +#ifndef BOOST_FUNCTION_EQUAL_HPP
1.14 +#define BOOST_FUNCTION_EQUAL_HPP
1.15 +
1.16 +namespace boost {
1.17 +
1.18 +template<typename F, typename G>
1.19 + bool function_equal_impl(const F& f, const G& g, long)
1.20 + { return f == g; }
1.21 +
1.22 +// function_equal_impl needs to be unqualified to pick
1.23 +// user overloads on two-phase compilers
1.24 +
1.25 +template<typename F, typename G>
1.26 + bool function_equal(const F& f, const G& g)
1.27 + { return function_equal_impl(f, g, 0); }
1.28 +
1.29 +} // end namespace boost
1.30 +
1.31 +#endif // BOOST_FUNCTION_EQUAL_HPP