|
Boost : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-04-21 07:16:40
Peter Dimov wrote:
> 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.
IOW, you're 100% sure that both compilers somehow get this wrong when the
test fails.
Markus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk