Subject: [Boost-bugs] [Boost C++ Libraries] #1300: Comparing Boost.Function function objects doesn't work with VS2005 SP1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-10-05 08:49:13
#1300: Comparing Boost.Function function objects doesn't work with VS2005 SP1
--------------------------------+-------------------------------------------
Reporter: boris_at_[hidden] | Owner: dgregor
Type: Bugs | Status: new
Milestone: To Be Determined | Component: function
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
--------------------------------+-------------------------------------------
Comparing Boost.Function function objects doesn't work with Visual Studio
2005 SP 1 -the compiler reports error C2666: 'boost::operator ==' : 4
overloads have similar conversions.
{{{
#include <boost/function.hpp>
void foo() { }
void bar() { }
int main()
{
boost::function<void ()> f = &foo, b = &bar;
f == b;
}
}}}
I filed a bug report for Boost.Signals before (see
http://svn.boost.org/trac/boost/ticket/1076). As I think it's actually a
problem with Boost.Function I report it again addressing the correct
library. I guess #1076 can be closed if this bug in Boost.Function is
fixed.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1300>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC