On Wed, 26 Jun 2024 at 21:39, François Dumont <frs.dum...@gmail.com> 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).