The following Problem drives me nuts, though it doesn't seem very odd:
class Foo;
// This is the location of the first error code
// ↓
int (Foo::*)(int) getPointer()
{
return 0;
}
GCC gives me:
error: expected unqualified-id before ')' token
error: expected initializer before 'getPointer'
PS: I compile with -std=c++11