Re:Constexpr-8cc: Compile-time C Compiler
by eloff on Friday November 18, 2016 @02:58PM
(#12989622)
Much saner than abusing templates for this purpose. Faster, better error messages, and miles more readable. I look forward to the day when all the metaprogramming inside boost is rewritten to use constexpr.
[ Parent
| on HN ]
Re:Constexpr-8cc: Compile-time C Compiler
by makapuf on Friday November 18, 2016 @04:04PM
(#12990059)
Metaprogramming is different than compile time programming. I agree with templates being abused as a compile time programming language but they are used as Metaprogramming just fine (well, or not but that's their primary usage)