From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-07-07 19:17:15


>>
>> Is there a way to tell boost::bind to choose the int foo(int i)
>> method rather than the "template<class T> void foo" method?
>
> static_cast<int(X::*)(int)>(&X::foo)
>
This gives an error:
    invalid static_cast from type ‘<unknown type>’ to type ‘int (X::*)
(int)’
Any other ideas?