Consider a scenario where I have declared 2 functions with same name, at which step would the compiler know that the function has same name? Preprocessing/Compilation/Linking. As far as I know the compiler will link the functions in the linker step and find the ambiguous function.
Aucun commentaire:
Enregistrer un commentaire