I want to pass a function value as a template parameter to a function. Currently the best I managed to do is :
template< typename F, F f >
I believe shortening this is currently impossible. A year ago, the C++ committee looked at http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3601.html to fix this, and they encouraged the authors to pursue it further after C++14 was released.