Hello friends!
I was studying K&B´s Overloading Made Hard section in Chapter 3.
There´s no problem with this code:
a
But then I wondered which one of these two would pick if they were overloaded and surprise!!! It gives a compiler error (ambiguous, both method match) and I don´t understand why the compiler can´t choose:
Please, anyone knows why?