[Bug c++/39970] New: gcc accepts the . dot operator in template arguments
bbnickell at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Apr 29 23:45:00 GMT 2009
The following reproducer violates ISO/IEC 14882:2003 [14.3.2p1]
class blah { int member; };
blah global; // global
template <int param=global.member>
class template_blah { /* blah */ };
Thanks,
-=brandon=-
--
Summary: gcc accepts the . dot operator in template arguments
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bbnickell at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39970
More information about the Gcc-bugs
mailing list