
1 Oct
2010
1 Oct
'10
12:58 p.m.
I believe the signature of bind in boost is a bit more complex than in your example. It may go like this: template< class FuncRet, class FuncParam0, class Param0
<unspecified-type> bind( FuncRet (*pf)(FuncParam0), Param0 param0 ) { ... } Since the full signature of the function pointer is provided, the compiler shouldn't have any problems disambiguating. -- Best regards, Alexander Fokin, apfokin@gmail.com.