Re:Modern programming languages require generics
by randbox on Tuesday May 24, 2022 @02:15PM
(#31495601)
It's not necessary to use macros. Just make both the sort function which the comparison function is passed to, as well as the comparison function itself, both "static inline". The compiler is smart enough to figure it out.
[ Parent
| on HN ]
There are no comments on this comment yet.