|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-02-25 14:21:07
David Abrahams wrote:
> testing.capture-output bind/mem_fn_eq_test.run
>
> looks like a Boost bug.
>
> ..\libs\bind\test\mem_fn_eq_test.cpp(175): test
> 'boost::mem_fn(&X::mf0_1) != boost::mem_fn(&X::mf0_2)' failed in
> function 'int __cdecl main(void)'
>
> ..\libs\bind\test\mem_fn_eq_test.cpp(178): test
> 'boost::mem_fn(&X::cmf0_1) != boost::mem_fn(&X::cmf0_2)' failed in
> function 'int __cdecl main(void)'
> ...
> 36 errors detected.
This is caused by the linker folding X::mf0_1 and X::mf0_2 into the same
function. It is neither a Boost bug nor a compiler bug, just not
particularly standard behavior.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk