public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/68495] Error when expanding nontype variadic argument in trailing return type
       [not found] <bug-68495-4@http.gcc.gnu.org/bugzilla/>
@ 2022-03-29 18:42 ` ppalka at gcc dot gnu.org
  2023-06-23 13:26 ` ppalka at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-03-29 18:42 UTC (permalink / raw)
  To: gcc-bugs

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)>.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/68495] Error when expanding nontype variadic argument in trailing return type
       [not found] <bug-68495-4@http.gcc.gnu.org/bugzilla/>
  2022-03-29 18:42 ` [Bug c++/68495] Error when expanding nontype variadic argument in trailing return type ppalka at gcc dot gnu.org
@ 2023-06-23 13:26 ` ppalka at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: ppalka at gcc dot gnu.org @ 2023-06-23 13:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vittorio.romeo at outlook dot com

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
*** Bug 80242 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-23 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-68495-4@http.gcc.gnu.org/bugzilla/>
2022-03-29 18:42 ` [Bug c++/68495] Error when expanding nontype variadic argument in trailing return type ppalka at gcc dot gnu.org
2023-06-23 13:26 ` ppalka at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).