[Bug c++/40901] Access qualifiers of embedded templates are discarded
bangerth at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 25 14:04:00 GMT 2009
------- Comment #2 from bangerth at gmail dot com 2009-08-25 14:04 -------
Confirmed:
---------------------------------
class A {
template <int> struct s {
enum { value };
};
};
int i = A::s<10>::value;
---------------------------------
This should produce an error but doesn't.
W.
--
bangerth at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at gmail dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-08-25 14:04:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40901
More information about the Gcc-bugs
mailing list