3 ms·
> I literally showed five lines of code above that solve the putative problem The top reply to your five lines literally points out why your solution doesn't
by Dylan16807 3y ago
> I literally showed five lines of code above that solve the putative problem
The top reply to your five lines literally points out why your solution doesn't solve the right problem.
The macro you wrote puts the same definition everywhere. It can't even handle the original use case of calling a different function for each number type.
If you're suggesting a combination approach of hiding the implementation with a macro until after _Generic gets resolved, I don't think that ordering is possible.