P3790R0 — Pointer lifetime-end zap proposed solutions: Bag-of-bits pointer class
Paul E. McKenney, Maged Michael, Jens Maurer, Peter Sewell, Hans Boehm, Hubert Tong, Niall Douglas, Thomas Rodgers, Will Deacon, Michael Wong, David Goldblatt, Kostya Serebryany, Anthony Williams, Tom Scogland, JF Bastien, Daniel Krügler.
LEWG
Revisions R2Jul 2026R0Jul 2025
**Introduction** **3** **Terminology** **4** **What We Are Asking For** **5** **Detailed Proposal** **5** A launder_bag_of_bits_ptr() Function 5 A bag_of_bits_ptr<T> Template Class 6 **Example** **6** User Tracking of Pointers and realloc() 6 **Wording** **8** Add bag_of_bits_ptr<T>, comparisons, launder_bag_of_bits_ptr(), and hash specialization 8 **History** **11** **Appendix: Name-Selection Guide** **13** Historical: Selecting a Name for usable_ptr<T> 14 Historical: Selecting a Name for make_usable_ptr() 15