Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-04-21 06:58:20


Markus Schöpflin wrote:
> The test fails with the following message:
>
> bind_visit_test.cpp(61): test 'vis.hash == 34' failed in function
> 'int main()'
>
> It has been failing on HP/CXX only for quite some time, but now I
> noted it also fails on GCC 4.1.0 Linux and Tru64. Is this an issue
> with the test?

The test has to result in one of the following sequences:

    vis( f ); vis( 3 ); vis( _1 ); vis( 4 );

or

    vis( f ); vis( 3 ); vis( 4 );

so vis.hash needs to be 34 afterwards. If it isn't, the visitor isn't being
called, and boost::signal automatic disconnect will probably not work.


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