Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2001-11-22 08:56:10


On Thursday 22 November 2001 04:55 am, you wrote:
> Doug,
>
> Just a small change is required in the signals/slots library to work around
> a strange bug in Borland C++. In make_slot_call_iterator
> (slot_call_iterator.hpp), borland seems to discard the return value from
> make_skip_if_iterator and complains that it can't construct a sc_iterator
> from "undefined". To fix this, I took the logic from make_skip_if_iterator
> and placed it directly into make_slot_call_iterator, you may wish to place
> the borland-specific parts in #ifdefs, because AFAICT, this is just a bug
> in borland.
>
> The borland-compatible version now looks like this:
[code snipped]

That is a strange bug... thanks for the fix.

> All of the tests now pass except for bindable_test.cpp, which I assume
> relies on the latest CVS version of the bind library? I only have the
> latest 1.25.1 release at the moment. I will get un update from the CVS
> shortly and try this final test.

Actually, the bind you need is in the Signals archive, but I swapped the
include order dependencies in the libs/signals/test/Jamfile. They should be:
<include>$(SIGNALS_ROOT) <include>$(BOOST_ROOT).

        Doug


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