[gcc(refs/users/meissner/heads/work239-submit)] libstdc++: Export std::allocation_result in std.cc [PR118030]
Michael Meissner
meissner@gcc.gnu.org
Thu Mar 19 22:47:37 GMT 2026
https://gcc.gnu.org/g:e5942a66751d1f960e2bc405237a8853396c5105
commit e5942a66751d1f960e2bc405237a8853396c5105
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