Try decltype'ing the function pointer argument to pacify clang.