This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23287] [3.4/4.0/4.1 regression] Explicitly invoking destructor of template class in a template and is dependent
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2005 04:15:16 -0000
- Subject: [Bug c++/23287] [3.4/4.0/4.1 regression] Explicitly invoking destructor of template class in a template and is dependent
- References: <bug-23287-11135@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2005-10-29 04:15 -------
This problem is much harder than I though but basicially there are two issues,
we need to parse A in ~A as A<T> which we don't as we require a class-type.
The second issue is that we don't even get to the parsing of ~ because scope is
NULL as this is a dependent type.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23287