Re: [PATCH] _Hashtable fancy pointer support

2024-06-29 Thread François Dumont
On 27/06/2024 22:30, Jonathan Wakely wrote: On Thu, 27 Jun 2024 at 20:25, François Dumont wrote: Thanks for the link, based on it I removed some of the nullptr usages keeping only assignments. That's not necessary. A nullable pointer type is equality comparable with nullptr_t, and nullptr can

Re: [PATCH] _Hashtable fancy pointer support

2024-06-27 Thread Jonathan Wakely
On Thu, 27 Jun 2024 at 20:25, François Dumont wrote: > > Thanks for the link, based on it I removed some of the nullptr usages > keeping only assignments. That's not necessary. A nullable pointer type is equality comparable with nullptr_t, and nullptr can be implicitly converted to the pointer ty

Re: [PATCH] _Hashtable fancy pointer support

2024-06-27 Thread François Dumont
Thanks for the link, based on it I removed some of the nullptr usages keeping only assignments. François On 26/06/2024 23:41, Jonathan Wakely wrote: On Wed, 26 Jun 2024 at 21:39, François Dumont wrote: Hi Here is my proposal to add support for fancy allocator pointer. The only place where

Re: [PATCH] _Hashtable fancy pointer support

2024-06-26 Thread Jonathan Wakely
On Wed, 26 Jun 2024 at 21:39, François Dumont wrote: > > Hi > > Here is my proposal to add support for fancy allocator pointer. > > The only place where we still have C pointers is at the > iterator::pointer level but it's consistent with std::list > implementation and also logical considering tha

[PATCH] _Hashtable fancy pointer support

2024-06-26 Thread François Dumont
Hi Here is my proposal to add support for fancy allocator pointer. The only place where we still have C pointers is at the iterator::pointer level but it's consistent with std::list implementation and also logical considering that we do not get value_type pointers from the allocator. I also