The reason is that this is illegal syntax. Also, why do you need to add redundant additional qualifications?
A member function is declared in the context of a class definition, without explicitly qualifying it as a member function of this class, and this jeopardizes readability.
source share