logoalt Hacker News

remexrelast Friday at 10:34 PM1 replyview on HN

How would you recommend doing that sort of "subtyping"? _Generic and macros?


Replies

o11clast Friday at 11:39 PM

Yup. It's a lot saner in C++, but people who refuse to use C++ for political reasons can do it the ugly way using C11 or GNU C.

show 2 replies