Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pineapple_sauce
· 2y ago · 0 comments
Yes, I'm well aware of the definition of a macro in C and C++. Macros are simpler than templates. You can expand them with a compiler flag.
Comments
[–]
bluGill
2y ago
when things get complex templete error messages are easier to follow. nobody makes complex macros but if you tried. (template error messeges are legendary for a reason. nested macros are worse)
[–]
account42
2y ago
> nobody makes complex macros
http://boost.org/libs/preprocessor