Created attachment 621675 [details] [diff] [review]
This makes rekeyFront take a const ref and check for the unchanged case. This allows us to unconditionally pass a newly constructed temporary into it. This saves us a few lines and a level of indentation basically everywhere we need to use rekeyFront. Granted, this is only a handful of places, but this still seems to be the cleaner option.