Quantcast
Viewing all articles
Browse latest Browse all 9

Internal Compiler Error

The following code produces an "Internal Compiler Error" in VS2008 SP1. Can anybody point out what I may be doing  wrong?

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

Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>