[Bug c++/11715] Error with template keyword in a non-dependent type
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 18 22:39:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11715
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|rejects-valid |accepts-invalid
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-18 22:39 -------
Changing the keyword based on Christian's anlysis.
And giving the code that was talked about which is invalid:
struct A
{
template <typename> struct B {};
};
template <typename T> struct C
{
C() { A::B<T> b; }
};
C<void> c;
More information about the Gcc-bugs
mailing list