[Bug c++/104487] The substitution in the dependent name in a trailing return type should cause recursive instantiation

2022-02-10 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104487 --- Comment #3 from jim x --- I think Clang is correct here.

[Bug c++/104487] The substitution in the dependent name in a trailing return type should cause recursive instantiation

2022-02-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104487 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > ICC and MSVC accept this also. I should say clang rejects it with recursiveness. Also I thought I had seen this exact bug filed before but I can't find it.

[Bug c++/104487] The substitution in the dependent name in a trailing return type should cause recursive instantiation

2022-02-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104487 --- Comment #1 from Andrew Pinski --- ICC and MSVC accept this also.