aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2025-05-07 11:54:24 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2025-05-07 11:54:24 +0100
commit0a5855d14dbe25c0890da5c5550013c795aab90e (patch)
tree19031f29e5f5f7d7460b7ee72a05c31e231ab919
parent0deefb9300043fc096e958154813ddf77b943fb3 (diff)
downloadgcc-0a5855d14dbe25c0890da5c5550013c795aab90e.zip
gcc-0a5855d14dbe25c0890da5c5550013c795aab90e.tar.gz
gcc-0a5855d14dbe25c0890da5c5550013c795aab90e.tar.bz2
libstdc++: Fix module std export for std::extents
libstdc++-v3/ChangeLog: * src/c++23/std.cc.in: Fix export for std::extents.
-rw-r--r--libstdc++-v3/src/c++23/std.cc.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/src/c++23/std.cc.in b/libstdc++-v3/src/c++23/std.cc.in
index 0df27cd..73316d1 100644
--- a/libstdc++-v3/src/c++23/std.cc.in
+++ b/libstdc++-v3/src/c++23/std.cc.in
@@ -1834,10 +1834,13 @@ export namespace std
}
// <mdspan>
+#if __glibcxx_mdspan
+export namespace std
{
using std::extents;
// FIXME layout_*, default_accessor and mdspan
}
+#endif
// 20.2 <memory>
export namespace std