
23 May
2004
23 May
'04
4:33 a.m.
add( BOOST_PARAM_TEST_CASE( bind( &test_mask, _1, 0x80 ), parameters_list.begin(), parameters_list.end() ) ) );
I get the following error:
error C2661: 'boost::unit_test_framework::create_test_case' : no
overloaded
function takes 4 arguments
It all caused by the fact that following fails: void moo( int , int ) { } template<typename T> void foo( boost::function1<void,T> const& f ) { } ... foo( bind( &moo, _1, 1 ) ); Is there way to make it work? Gennadiy.