From: Luc Grosheintz Date: Fri, 12 Dec 2025 11:28:01 +0000 (+0100) Subject: libstdc++: Make compatible with clang. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b78e97a0cbc60dea937f3bf67c5d47033cf4731;p=thirdparty%2Fgcc.git libstdc++: Make compatible with clang. The submdspan feature broke compatibility with clang, due to a missing '::template type'. libstdc++-v3/ChangeLog: * include/std/mdspan (submdspan): Fix missing '::template'. Reviewed-by: Jonathan Wakely Signed-off-by: Luc Grosheintz --- diff --git a/libstdc++-v3/include/std/mdspan b/libstdc++-v3/include/std/mdspan index dc0aa4f9584..cedf597d3c2 100644 --- a/libstdc++-v3/include/std/mdspan +++ b/libstdc++-v3/include/std/mdspan @@ -3376,7 +3376,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION template requires (sizeof...(_RawSlices) == _Extents::rank() - && __mdspan::__sliceable_mapping, + && __mdspan::__sliceable_mapping, __mdspan::__full_extent_t<_RawSlices>...>) constexpr auto submdspan(