Re: libstdc++ PR 57272 Fancy pointer support in Hashtable

2021-06-10 Thread François Dumont via Gcc-patches
I would like to renew this proposal. I considered all your feedbacks expect: On 02/11/20 3:11 pm, Jonathan Wakely wrote: There's no point doing it if you still use raw pointers. It either has to be done completely, or it's a waste of time and energy. Why ? Can you provide the Standard docu

Re: libstdc++ PR 57272 Fancy pointer support in Hashtable

2021-01-11 Thread François Dumont via Gcc-patches
Hi     I had another look to this attempt to properly support alloc fancy pointers.     I consider all your remarks appart from the big one below about all this being a waste of time :-)     I do not see why we should use the alloc fancy pointer type in our _Hashtable implementation detail

Re: libstdc++ PR 57272 Fancy pointer support in Hashtable

2020-05-15 Thread François Dumont via Gcc-patches
I think I completed this evolution. I eventually used ref to node pointer as much as possible and even use move semantic on it. My prerequisite for this to work is that nullptr can be assign on the fancy pointer and that a fancy pointer to __node_type is assignable implicitely to a fancy poi