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


Mark Mitchell wrote:
> 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.
>   
Thanks Mark for your feedback on that, I'm going to implement the change
for mainline.

Paolo.


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