Boost logo

Boost :

Subject: Re: [boost] Can someone with Visual Studio take a look at bug #1076, please?
From: John Maddock (john_at_[hidden])
Date: 2009-11-30 05:43:41


> There is a test case attached to the bug:
> https://svn.boost.org/trac/boost/ticket/1076
>

Test case fails for me with VC++, and with gcc 4.

It looks to me as if it should fail as well - the functor event_handler
isn't equality comparable.

Adding the member:

bool operator==(const event_handler&)const{ return true; }

to class event_handler fixes things for me, but whether this is the correct
fix, or whether this is supposed to work, I have no idea.

HTH, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk