
3 Dec
2008
3 Dec
'08
2:08 p.m.
Hi Genndiy, When I write code like BOOST_CHECK_CLOSE( a->conditionals().sum(), 2., 0.001f ); I tend to get a compilation error the first time, because I wrote BOOST_CHECK_CLOSE( a->conditionals().sum(), 2, 0.001f ); I think that many users are not helped very much by the resulting error messages deep inside the test library. Maybe we should consider to turn off deduction for the second argument with template< class T > bool operator()( T l, mpl::identity<T>::type r, ... ); ? Any thoughts. -Thorsten