Thanks for explanation. I've tried to get alias template argument implicitly, but got compilation error. I will use name of the function as template argument, but not reference to function as regular parameter.