Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Function template function_equal

boost::function_equal —

Compare two function objects for equality.


template<typename F, typename G> bool function_equal(const F& f, const G& g);


Returns: f == g.
Throws: Only if f == g throws.

Copyright 2001-2004 Douglas Gregor