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: Limit template parameters in hashtable


On 07/21/2013 09:42 PM, Paolo Carlini wrote:
Hi,

On 07/21/2013 07:55 PM, Jonathan Wakely wrote:
Benjamin, Paolo, do you have any opinion on the ABI change for 4.9? It happens because the _M_bbegin member moves to a base class, so _hashtable changes layout, with members in a different order.
Basing also on what we discussed at the Cauldron, I think that at this point we'll stabilize the ABI only in the next series, not in 4.9. In practice, if we want to be picky in terms of linking object codes, isn't 4.9 already incompatible with 4.8?

Paolo.

Yes it is in fact. With adaptation for C++11 allocators the hashtable might now have no bucket after move. A module built with the 4.8 version will no work fine with such an instance, it might crash on a hash code % 0 call.

François


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