pow.h to cetlib?
Some time ago Walt wrote pow.h, a template that, at compile time, writes the code for the minimal multiply algorithm for evaluating an integer power. It also provided templates for square, cube and fourth power. I think that this is a good candidate for inclusion in cetlib.
We are currently using I put a slightly modified version that I put into the Mu2e repository.
I think that the mods were that Walt spelled square and cube as sqr and cub; and he did not provide fourth. I don't have a strong opinion on the spelling of sqr and cub in the code you commit. If you think that the right answer for a broader audience is sqr, cub, that's fine with me.