more non-useless destructors desired
Mark Mitchell
mark@codesourcery.com
Wed May 6 04:25:00 GMT 2009
Paolo Carlini wrote:
> first blush, I believe this change could be doable, because the
> destructors already exist and are exported by the library anyway, only
> as "W" instead of "T". Did you experiment already with actually
> declaring / defining such destructors in stdexcept / stdexcept.cc?
I agree that this should be a safe change, and a good optimization.
Existing applications will have weak definitions, but that's OK -- they
can be linked with a new library which provides strong definitions.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Libstdc++
mailing list