Boost logo

Boost Users :

Subject: Re: [Boost-users] comparing function objects
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-24 23:07:43


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

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net