How is <tgmath.h> implemented?

Posted by sync on Stack Overflow See other posts from Stack Overflow or by sync
Published on 2010-04-28T03:55:44Z Indexed on 2010/04/28 4:03 UTC
Read the original article Hit count: 117

Filed under:
|

C doesn't have (to the best of my knowledge) overloading or templates, right? So how can a set of type-agnostic functions with the same name exist in plain ol' C? The usual compile-time trickery would involve a whole bunch of macros, wouldn't it?

© Stack Overflow or respective owner

Related posts about c

    Related posts about overloading