From: Jonathan Wakely Date: Wed, 7 May 2025 10:54:24 +0000 (+0100) Subject: libstdc++: Fix module std export for std::extents X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a5855d14dbe25c0890da5c5550013c795aab90e;p=thirdparty%2Fgcc.git libstdc++: Fix module std export for std::extents libstdc++-v3/ChangeLog: * src/c++23/std.cc.in: Fix export for std::extents. --- diff --git a/libstdc++-v3/src/c++23/std.cc.in b/libstdc++-v3/src/c++23/std.cc.in index 0df27cd7e7d..73316d168c9 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 } // +#if __glibcxx_mdspan +export namespace std { using std::extents; // FIXME layout_*, default_accessor and mdspan } +#endif // 20.2 export namespace std