2 ms·
Keep in mind that "the ugliest C feature" was committed in 2000, and the article was written in 2005. Things were a mite different in 2000, so this was probably
by CGamesPlay 15y ago
Keep in mind that "the ugliest C feature" was committed in 2000, and the article was written in 2005. Things were a mite different in 2000, so this was probably more necessary.
Even if this isn't necessary today, it's a pretty interesting brain exercise.
- kzrdude 15y agoglibc still includes similar code. (There are type-switch builtin functions in gcc that could have replaced it).