Boost C++ Libraries

...one 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 to view this page for the latest version.
PrevUpHomeNext

Function template function_equal

boost::function_equal — Compare two function objects for equality.

Synopsis

// In header: <boost/function_equal.hpp>


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

Description

Returns:

f == g.

Throws:

Only if f == g throws.

PrevUpHomeNext