This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20172] Invalid non-type template parameters not diagnosed
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2005 09:58:09 -0000
- Subject: [Bug c++/20172] Invalid non-type template parameters not diagnosed
- References: <20050223163834.20172.SWElef@post.sk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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