https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60608

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Slightly shorter:

template<typename... Args>
void
wrapper(void (*f)(Args...));

void myfun(int);

void
test()
{
  wrapper<const int>(myfun);
}

Reply via email to