https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60608
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|volumedriverteam@cloudfound |
|ers.com |
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Thus boils down to:
template<typename... Args>
void
wrapper(void (*f)(Args...), Args...);
void myfun(int);
void
test()
{
const int b = 0;
wrapper<const int>(myfun, b);
}
where a non-variadic version is fine. Figuring out where the cv-qualifier is
treated differently in the two cases should be relatively easy...