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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=104255

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Like PR104255, the problem appears to be the use of the function parameter 'f'
within the signature of the function.  GCC should arguably accept such uses,
even in evaluated contexts, as long as the function parameter has an empty
type.

One workaround in this case is to replace the trailing return type
int_seq<f(A)> with int_seq<F{}(A)>.

Reply via email to