[Bug c++/106658] [C++23] P2590 - Explicit lifetime management
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 22 13:59:46 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106658
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tomasz Kaminski <tkaminsk@gcc.gnu.org>:
https://gcc.gnu.org/g:f8681ec8d0a778c62cf6d921e00a8714529ecca8
commit r16-4023-gf8681ec8d0a778c62cf6d921e00a8714529ecca8
Author: Tomasz KamiÅski <tkaminsk@redhat.com>
Date: Mon Sep 22 13:31:17 2025 +0200
libstdc++: Move start_lifetime_as functions to bits/stl_construct.h
[PR106658]
This allows inplace_vector to use these functions without including the
entire
<memory> header.
Preprocessor checks are changed to use __glibcxx macros, so new functions
are
available outside memory header, that exports __cpp_lib macros.
PR libstdc++/106658
libstdc++-v3/ChangeLog:
* include/bits/stl_construct.h (std::start_lifetime_as_array)
(std::start_lifetime_as): Moved from std/memory, with update
to guard macros.
* include/std/memory (std::start_lifetime_as_array)
(std::start_lifetime_as): Moved to bits/stl_construct.h.
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Signed-off-by: Tomasz KamiÅski <tkaminsk@redhat.com>
More information about the Gcc-bugs
mailing list