
7 Jul
2008
7 Jul
'08
5:17 p.m.
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?