Decided to trust the compiler on "constant folding and dead code elimination".
(see http://stackoverflow.com/questions/17024784/c-template-metaprogramming-static-if-workaround-can-it-be-improved)