[Bug c++/84782] Rejects a maybe C++ code snippet
raphael.kubo.da.costa at intel dot com
gcc-bugzilla@gcc.gnu.org
Thu Mar 22 12:35:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782
--- Comment #7 from Raphael Kubo da Costa <raphael.kubo.da.costa at intel dot com> ---
(In reply to Jonathan Wakely from comment #6)
> Your example is not valid, and is rejected by GCC and Clang and EDG.
Ugh, I forgot to test it with clang before posting my comment. I stand
corrected.
Is it relevant that your testcase builds fine when G's copy constructor is
inlined?
More information about the Gcc-bugs
mailing list