[Bug c++/57712] GCC fails to to match out-of-line template member function definition with declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57712 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=81188 --- Comment #3 from Andrew Pinski --- Most likely a dup of bug 81188.
[Bug c++/57712] GCC fails to to match out-of-line template member function definition with declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57712 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.2 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Andrew Pinski --- Fixed in GCC 7.2.
[Bug c++/57712] GCC fails to to match out-of-line template member function definition with declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57712 Stan Shebs changed: What|Removed |Added CC||stanshebs at earthlink dot net --- Comment #1 from Stan Shebs --- This bug seems to have manifested itself at Google in the following form: struct S { template int g(B b); template auto h(B b) -> decltype(g(b)); }; template auto S::h(B b) -> decltype(g(b)) { return g(b); } Clang likes it fine, but it still occurs for a couple-weeks-ago GCC: tre.cc:5:27: error: prototype for ‘decltype (((S*)this)->S::g(b)) S::h(B)’ does not match any in class ‘S’ template auto S::h(B b) -> decltype(g(b)) { return g(b); } ^ tre.cc:3:31: error: candidate is: template decltype (((S*)this)->S::g(b)) S::h(B) template auto h(B b) -> decltype(g(b));
[Bug c++/57712] GCC fails to to match out-of-line template member function definition with declaration
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57712 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2013-06-26 Ever confirmed|0 |1