Better HN
topnewbestaskshowjobs
Log inSign up

retronym

3 karma · joined Mar 16, 2012 (14y ago) · 1 submissions

Submissions

comment 14y ago · link · parent

And macros aren't just for optimizations -- they can also provide additional compile time checks, for example checking that regex strings are well-formed, or that the arguments to printf, or printf-style interpolated strings, match the provided format specifiers.