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 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 wondered if it was ok to use nullptr in different places or if I >> should rather do __node_ptr{}. But recent modifications are using >> nullptr so I think it's fine. > I haven't reviewed the patch yet, but this answers the nullptr question: > https://en.cppreference.com/w/cpp/named_req/NullablePointer > (aka Cpp17NullablePointer in the C++ standard). >