The following code produces an "Internal Compiler Error" in VS2008 SP1. Can anybody point out what I may be doing wrong?
Thanks,
PaulH
class Test
{
public:
BOOL SomeFunction( int* ){ return TRUE; };
};
template< class T >
class TestClass : public T
{
};
int main()
{
int value = 0;
TestClass< Test > t;
boost::bind( &TestClass< Test >::SomeFunction, t )( &value );
return 0;
}
Thanks,
PaulH