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++/20172] Invalid non-type template parameters not diagnosed


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-06-10 09:58 -------
Actually gcc does instantiate the declarations.
It just doesn't check whether the non-type template arguments are
valid in this situation.

Adjusting the summary accordingly.

Patch posted.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |reichelt at gcc dot gnu dot
                   |dot org                     |org
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |06/msg00952.html
             Status|NEW                         |ASSIGNED
           Keywords|                            |patch
            Summary|member function template    |Invalid non-type template
                   |declaration not instantiated|parameters not diagnosed
                   |during the instantiation of |
                   |the enclosing class template|


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


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