|
Boost Users : |
Subject: Re: [Boost-users] comparing function objects
From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2008-09-25 12:35:32
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.
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