Re: [PATCH] Fix Hashtable node manipulation when custom pointer

2020-03-12 Thread Jonathan Wakely via Gcc-patches
On 12/03/20 19:33 +0100, François Dumont via Libstdc++ wrote: I wonder if this fix is correct because if it is you spent more time making ext_ptr.cc works than fixing it :-) I don't remember the details, but I think this is not correct. We need to store the fancy pointer, not a raw pointer. Sim

[PATCH] Fix Hashtable node manipulation when custom pointer

2020-03-12 Thread François Dumont via Gcc-patches
I wonder if this fix is correct because if it is you spent more time making ext_ptr.cc works than fixing it :-)     libstdc++ Hashtable: Fix node manipulation when using custom pointer     Use std::__to_address to get NodeHandle when reinserting nodes.     * include/bits/hashtable.h