C++ header-only library that converts a function pointer into a function pointer with a different definition.