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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 17 00:19:00 GMT 2012


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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-17 00:19:18 UTC ---
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



More information about the Gcc-bugs mailing list