News for hackers. Stuff that matters.
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 :)
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.
Re:A brief guide to C++ template metaprogramming by abz10 on Sunday September 25, 2016 @12:58PM (#12576134)
Friends don't let friends program in C++ :) I'm holding out for Rust. Every now and then I think I should go native, then I try it and my productivity goes out of the window :/