https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104255
Barry Revzin <barry.revzin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barry.revzin at gmail dot com --- Comment #8 from Barry Revzin <barry.revzin at gmail dot com> --- (In reply to Patrick Palka from comment #2) > The error message is obscure, but it seems what GCC has issue with here is > the use of the function parameter seq2 in the trailing return type occurring > outside of an unevaluated context. > > I'm not totally sure if the testcase is valid > (https://eel.is/c++draft/basic.scope.param#note-1 might suggest it's not?), But we're not using the parameter for its "value" here (which I think means in the sense of lvalue-to-rvalue conversion... as in reading a parameter of type int), so I don't think this would be a reason to reject?