Hacker News new | ask | show | jobs
by RicardoLuis0 1709 days ago
have you considered using C11's _Generic feature? It allows you to maunally implement function overloading: https://godbolt.org/z/jxjvnMTPT