According to ยง13.1 / 2, the two member functions below are not overloaded. Why is this?
class X { static void f(); void f() const; };
Edit : The question is not a duplicate. The above example shows a const function and a static function that is not a constant. From ยง 13.1 / 2, I know that functions are not overloaded. I just want to know why the Standard does not allow the above construction.
source share