]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Define _Scoped_allocation RAII helper
authorJonathan Wakely <jwakely@redhat.com>
Thu, 22 May 2025 08:58:31 +0000 (10:58 +0200)
committerTomasz Kamiński <tkaminsk@redhat.com>
Thu, 22 May 2025 12:20:35 +0000 (14:20 +0200)
commit0faa31da113768a626daa294e840ff1b17499ebf
treef074a5c6a5c3651a6c4823243f6aff4dd0ae27e4
parentc0a2526f099dfa52df5daa1432ff583ae6af0d5f
libstdc++: Define _Scoped_allocation RAII helper

libstdc++-v3/ChangeLog:

* include/bits/allocated_ptr.h (_Scoped_allocation): New class
template.

Co-authored-by: Tomasz Kamiński <tkaminsk@redhat.com>
Signed-off-by: Tomasz Kamiński <tkaminsk@redhat.com>
libstdc++-v3/include/bits/allocated_ptr.h