[Bug c++/115964] GCC accepts invalid program with explicit object member function overloads
jlame646 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jul 18 20:47:38 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115964
--- Comment #3 from Jason Liam <jlame646 at gmail dot com> ---
(In reply to corentinjabot from comment #2)
> This is valid per https://eel.is/c++draft/basic.scope.scope#4.4
No you've misread your quoted reference. The program is ill formed as explained
in the given thread:
https://stackoverflow.com/questions/78758215/explicit-member-function-discrepancies-between-different-compilers
More information about the Gcc-bugs
mailing list