News for hackers. Stuff that matters.
Re:Why C++ Sails When the Vasa Sank [pdf] by LukeShu on Monday June 23, 2014 @09:37PM (#7935789)
Look for the "_Generic" keyword.

On that topic, it is possible to do cool things with macros with GCC extensions. A simple example of generic macros was discussed about a week ago: https://news.ycombinator.com/item?id=7896280

Re:Why C++ Sails When the Vasa Sank [pdf] by loup-vaillant on Tuesday June 24, 2014 @04:44AM (#7936727)
Thanks. Doesn't look like that's enough for my purposes, though.