[Bug c++/122098] Unexpected access error for private member function template referenced from same class

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 30 08:59:06 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122098

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |59002

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Clang and EDG accept it. I think this might be a dup of Bug 116640


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002
[Bug 59002] [meta-bug] Access checking in templates


More information about the Gcc-bugs mailing list