This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: more non-useless destructors desired


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]