[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] [function] function_equal or function::operator==
From:       Steven Watanabe <watanabesj () gmail ! com>
Date:       2008-08-30 17:55:56
Message-ID: 48B989AC.8080100 () providere-consulting ! com
[Download RAW message or body]

AMDG

Hajo Kirchhoff wrote:
> Hello,
> I would like to compare two boost::function<void()> objects, but get an
> "boost::operator ==' : 4 overloads have similar conversions" error.
>
> On Visual Studio 2008 SP1, both Win32 and x64 target platform, the
> following code does not compile:
>
> boost::function<void()> one, two;
> if (one==two)
> 	one.clear();
>
> I get the compile error messages below.
>
> Any ideas, any help?
>   

Comparing two boost::functions is unsupported.

http://www.boost.org/doc/libs/1_36_0/doc/html/function/faq.html#id2914657

In Christ,
Steven Watanabe

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic