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

S. Davis Herring <herring at lanl dot gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |herring at lanl dot gov

--- Comment #5 from S. Davis Herring <herring at lanl dot gov> ---
As an anti-example, making the client a template works:

template<void(*)()> struct A{};

template<int=0>
void f()
{
    constexpr auto fp = +[]{};
    A<fp>{};
}

int main()
{
    f();
}

Reply via email to