In case you want a pure virtual with return type, the return must be part of the PURE_VIRTUAL macro. as it must be a complete function in the CPP sense.
virtual bool IsValid() PURE_VIRTUAL(MyClass::IsValid, return false;);
In case you want a pure virtual with return type, the return must be part of the PURE_VIRTUAL macro. as it must be a complete function in the CPP sense.
virtual bool IsValid() PURE_VIRTUAL(MyClass::IsValid, return false;);