This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20172] member function template declaration not instantiated during the instantiation of the enclosing class template
- 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: 25 Feb 2005 09:13:14 -0000
- Subject: [Bug c++/20172] member function template declaration not instantiated during the instantiation of the enclosing class template
- 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-02-25 09:13 -------
Confirmed. Accepted since at least gcc 2.95.3.
Reduced testcase:
================================
template<typename T> struct A
{
template<T> void foo();
};
A<double> a;
================================
Even A<void> is accepted.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2005-02-25 09:13:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20172