More speculations on arenas in C++
Read OriginalThe article delves into C++ arena allocation, discussing object lifetime semantics and how common C-style memory management can be ill-formed in C++. It references C++20 exceptions and new features like start_lifetime_as, analyzing a custom arena allocator implementation and identifying subtle issues with pointer provenance and placement new.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser