Helper function for Reverse template because c++11 does not support template deduction.
Definition at line 24 of file utils.hxx.