This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/45964] The compiler does not complain about a required template keyword.


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jason at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2010-10-11 12:39:04 UTC ---
(In reply to comment #3)
> Yes, but I disagree that it's required. I was wrong when I said it's not a
> member template specialization, but I think 'template' is not required because
> B<b> refers to a member of the current instantiation, as defined by 14.6.2.1

Correct.

> Jason, could you comment?  Was this a bug in older versions of G++ which is now
> fixed?

Yes, this was fixed when I implemented DR 224
(http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#224).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]