software Using C++ Templates to Optimize Away Branches I came across a really cool use of C++ templates that I hadn't seen before - optimizing out branch instructions. I discovered it while watching a recorded tech talk from Drew Paroski, who