bad overloading---class A{public: void foo() const {} void foo() {}};template<typename R, typename T>void test(R(T::*)() const){}int main(){ test(&A::foo); //Error here.}
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...