This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55361] Access control in templates only happens when instantiating a method
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Nov 2012 00:19:18 +0000
- Subject: [Bug c++/55361] Access control in templates only happens when instantiating a method
- Auto-submitted: auto-generated
- References: <bug-55361-4@http.gcc.gnu.org/bugzilla/>
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