This has nothing to do with real OO just with lazy programmers.
Eiffel does not support function overloading as well and at the moment it is the purest form of OO designed by Bertrand Meyer whos book is used widely when it comes to OO design teaching.
it has good reasons why it is not supported, one of them is that different headers have a different use so a good designed OO system should assign different names to it as well as it is a different feature.
So just because it works in C++ or languages that evolved out of it or were inspired by it, it does not mean that it is something that should really work in a real, safe and correct OO language
Eiffel does not support function overloading as well and at the moment it is the purest form of OO designed by Bertrand Meyer whos book is used widely when it comes to OO design teaching.
it has good reasons why it is not supported, one of them is that different headers have a different use so a good designed OO system should assign different names to it as well as it is a different feature.
So just because it works in C++ or languages that evolved out of it or were inspired by it, it does not mean that it is something that should really work in a real, safe and correct OO language