Explicit overrides of an interface are not handled consistently in all situations. Specifically, a C3241 error can occur in some function signatures but not others. The following code works fine:class IFoo{public: virtual bool foo() = 0;};class Bar : public IFoo{public: bool IFoo::foo() { return true; }};However, if the function signature were changed to `bool foo() const` an error C3241 occurs, claiming that the function was not introduced by IFoo. This error is incorrect.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...