Re:Generics in C without void* or macros – enabled by psychec
by AndrewBissell on Monday September 09, 2019 @10:39AM
(#20918600)
I developed these ideas a bit further with the use of XX macros, which allow you to make a set of functions generic across some list of types. There can be real performance wins to this over void*: https://abissell.com/2014/01/16/c11s-_generic-keyword-macro-...
Re:Generics in C without void* or macros – enabled by psychec
by flukus on Monday September 09, 2019 @11:10PM
(#20924741)
That looks handy. I got bored one day and built a fluent interface: http://flukus.github.io/fluent-interfaces-for-c.html
[1]: http://www.robertgamble.net/2012/01/c11-generic-selections.h...