They would have to close the gap, when going out of scope. The list can be doubly-linked or cyclical.
-----Ursprüngliche Nachricht-----
Von: JOHN MORRISON via Std-Proposals <std-proposals@lists.isocpp.org>
Gesendet: Mo 24.02.2025 23:18
Betreff: Re: [std-proposals] A non-owning but self zeroing smart pointer for single ownership
An: std-proposals@lists.isocpp.org;
CC: JOHN MORRISON <inglesflamenco@hotmail.com>;
I did think of a linked list but secondary pointers can go out of scope too which would leave the list dangling.