[Bug c++/23287] [3.4/4.0/4.1 regression] Explicitly invoking destructor of template class in a template and is dependent

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Oct 29 04:15:00 GMT 2005



------- 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



More information about the Gcc-bugs mailing list