Subject: [Boost-bugs] [Boost C++ Libraries] #1076: compile error: disconnecting struct with operator()() doesn't work in VS2005 SP1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-04 04:48:49
#1076: compile error: disconnecting struct with operator()() doesn't work in
VS2005 SP1
--------------------------------+-------------------------------------------
Reporter: boris_at_[hidden] | Type: Bugs
Status: new | Milestone: To Be Determined
Component: signals | Version: release 1.34.0
Severity: Showstopper | Keywords: error
--------------------------------+-------------------------------------------
According to http://www.boost.org/doc/html/signals/tutorial.html#id1626102
it should be possible to connect a signal to operator()() in a struct.
While connecting works indeed disconnecting doesn't (in VS2005 SP1). The
compile error VS2005 reports is:
C2678: binary '==' : no operator found which takes a left-hand operand of
type 'const event_handler' (or there is no acceptable conversion)
There has been a discussion on the mailing list already - see
http://thread.gmane.org/gmane.comp.lib.boost.user/27997/focus=28629
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1076>
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:55 UTC