
21 Dec
2008
21 Dec
'08
9:32 p.m.
There's an issue with pointer to member functions.
Here's what I've traced boost bind error to:
template<class F> void g(F f){};
struct S { void m(){}; };
int _tmain(int argc, _TCHAR* argv[])
{
S s;
g(s.*&S::m);
return 0;
}
Here's a looking like legal code that fails to compile with the same crash:
class foo;
template