[RFC] Special casing dtors?

Stan Shebs stanshebs@earthlink.net
Thu Mar 26 22:39:00 GMT 2009


Keith Seitz wrote:
> Hi,
>
> I've been looking a bit at a patch (in Fedora) which fixes prms/1112, 
> and I notice that both valops.c and linespec.c treat destructors as 
> "special case"s -- but nowhere does it say WHY.
>
> I've searched through all the history I can find about this (including 
> the Cygnus internal ueberbaum), and all I've been able to discover is 
> that this has been in a LONG time (before 1990).
1980s C++ was rather a different language from today, and G++ was even 
more different, so it could easily have been something that made sense 
for 1.x and not anything later.

Stan



More information about the Gdb-patches mailing list