4 ms·
I meant more from the perspective that stb_ds achieves type safe generics in C using macros but without using defines. It would be interesting to see if someth
by iamyemeth 3y ago
I meant more from the perspective that stb_ds achieves type safe generics in C using macros but without using defines.
It would be interesting to see if something similar could be achieved for an algorithm library.
- kzrdude 3y agoIt would be interesting but I prefer the approach in this post - because the templating macros are isolated out into a "module" and it does not great spread across the user code.