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

Ed Catmur <ed at catmur dot uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ed at catmur dot uk

--- Comment #2 from Ed Catmur <ed at catmur dot uk> ---
Workaround: add an N=1+ deduction guide:

    // existing
    template <typename... Us>
    foo(Us...) -> foo<Us...>;
    // additional, for g++
    template <typename U, typename... Us>
    foo(U, Us...) -> foo<U, Us...>;

Reply via email to