[gcc r16-8175] libstdc++: Export std::allocation_result in std.cc [PR118030]
Jakub Jelinek
jakub@gcc.gnu.org
Thu Mar 19 15:11:51 GMT 2026
https://gcc.gnu.org/g:a51dbc0cdcafcd051ac1b9ee230d31e7897d0bb0
commit r16-8175-ga51dbc0cdcafcd051ac1b9ee230d31e7897d0bb0
Author: Jakub Jelinek <jakub@redhat.com>
Date: Thu Mar 19 16:11:14 2026 +0100
libstdc++: Export std::allocation_result in std.cc [PR118030]
allocation_result has been added in PR118030 P0401 r16-7986 but
not exported in std module.
2026-03-19 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/118030
* src/c++23/std.cc.in: Add allocation_result.
Diff:
---
libstdc++-v3/src/c++23/std.cc.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libstdc++-v3/src/c++23/std.cc.in b/libstdc++-v3/src/c++23/std.cc.in
index 75273ce56c5d..5b0e5c4debd2 100644
--- a/libstdc++-v3/src/c++23/std.cc.in
+++ b/libstdc++-v3/src/c++23/std.cc.in
@@ -2055,6 +2055,9 @@ export namespace std
using std::start_lifetime_as;
using std::start_lifetime_as_array;
#endif
+#ifdef __glibcxx_allocate_at_least
+ using std::allocation_result;
+#endif
}
// 20.4 <memory_resource>
More information about the Libstdc++-cvs
mailing list