
25 Sep
2008
25 Sep
'08
4:35 p.m.
Steven Watanabe wrote:
AMDG
Noah Roberts wrote:
Noah Roberts wrote:
"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:
See http://www.boost.org/doc/libs/1_36_0/doc/html/function/faq.html#id2914657
Well there you go. Thanks.