
"Function object wrappers can be compared via == or != against any
function object that can be stored within the wrapper. If the function
object wrapper contains a function object of that type, it will be
compared against the given function object (which must be either be
EqualityComparable or have an overloaded boost::function_equal)."
But how do I compare two boost::functions? This code doesn't work:
#include