[libcxx-commits] [libcxx] [libc++][NFC] Sync mdspan synopsis and remove redundant typenames (PR #191621)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 11 05:29:28 PDT 2026


================
@@ -97,12 +97,12 @@ namespace std {
   class layout_left::mapping {
   public:
     using extents_type = Extents;
-    using index_type = typename extents_type::index_type;
-    using size_type = typename extents_type::size_type;
-    using rank_type = typename extents_type::rank_type;
+    using index_type = extents_type::index_type;
+    using size_type = extents_type::size_type;
+    using rank_type = extents_type::rank_type;
     using layout_type = layout_left;
 
-    // [mdspan.layout.right.cons], constructors
+    // [mdspan.layout.left.cons], constructors
----------------
H-G-Hristov wrote:

These changes are in layout_left. These changes look wrong?

https://github.com/llvm/llvm-project/pull/191621


More information about the libcxx-commits mailing list