2 ms·
> there have been several times where I would have to write the same C/C++ function again and again to support a new type. If the function has to handle differ
by 10098 13y ago
> there have been several times where I would have to write the same C/C++ function again and again to support a new type.
If the function has to handle different types in different ways, you'd have to write it again anyway. Otherwise, you could have used templates.