News for hackers. Stuff that matters.
Re:Function overloading in C by crystalgiver on Sunday July 26, 2015 @01:12PM (#9951578)
Interesting approach, this is how I do it:

   cc -std=c++14
No preprocessor necessary! Also it checks the type of both arguments.
Re:Function overloading in C by ambrop7 on Sunday July 26, 2015 @02:12PM (#9951750)
Indeed. No need to use "complex" features like RAII/RTTI/exceptions. Generally, I see features like classes, overloading and templates as "compatible" with C-style coding.