24 Jul
2017
24 Jul
'17
3:30 p.m.
Alain Miniussi wrote:
The name mangling of the gnu ABI (used by most unix-like) does not encode the return type, and the result does not have to be used when the function is called.
So if such a functionality is added, the mangling issue alone will hurt backward compatibility real bad.
Template parameters are encoded though, so when faced with compiler
protestations that two function templates are the same, I just start adding
dummy class = void parameters to differentiate.
That is,
template