When writing C99 code is a reasonable recommendation to use inline
functions instead of macros?
What sort of things is it still reasonable to do using macros? For
example, is it reasonable to write type generic functions macros?
#define CUBE(I) ( (I) * (I) * (I) )
Is there some more concise set of things where inline functions should
be used instead of macros? Multi-statement macros, for example?
Thanks,
rCs
Comment