Re:A brief guide to C++ template metaprogramming
by dukoid on Sunday September 25, 2016 @06:22AM
(#12574701)
I expected a single page that just says "Don't" in big letters :)
[ Parent
| on HN ]
Re:A brief guide to C++ template metaprogramming
by ansgri on Sunday September 25, 2016 @06:59AM
(#12574813)
For this case it'd be justified (it even has lambdas!). TMP is great for data-centric code though, like math algorithms or data structure definitions with optimizations conditional on type traits.