Hi!

allocation_result has been added in PR118030 P0401 r16-7986 but
not exported in std module.

Tested on x86_64-linux, ok for trunk?

2026-03-19  Jakub Jelinek  <[email protected]>

        PR libstdc++/118030
        * src/c++23/std.cc.in: Add allocation_result.

--- libstdc++-v3/src/c++23/std.cc.in.jj 2026-02-17 11:37:50.147570499 +0100
+++ libstdc++-v3/src/c++23/std.cc.in    2026-03-19 14:41:32.584711108 +0100
@@ -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>

        Jakub

Reply via email to