On Sun, May 12, 2019 at 12:45:42PM +0200, Markus Wichmann wrote: > On Sun, May 12, 2019 at 01:30:10AM -0700, Michael Forney wrote: > > What about _Generic in C11? This allows you to choose an expression > > based on the type of another expression. > > God dammit, looks like I need to get some C11 training under my belt. > Completely forgot _Generic was a thing. > > Ciao, > Markus >
I wouldn't use generics and just KISS. -- Kind regards, Hiltjo