[Bug c++/55361] Access control in templates only happens when instantiating a method

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 27 01:46:00 GMT 2017


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-09-27
                 CC|                            |egallager at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #4)
> unless this is recategorised as a diagnostic enhancement request this is
> clearly invalid, the compiler is not required to give an error for this code

Since this has since been recategorized as an enhancement, I'm confirming it.


More information about the Gcc-bugs mailing list