[libcxx-commits] [libcxx] [libc++] P3029R1: Better `mdspan`'s CTAD - `std::extents` (PR #89015)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 24 09:32:39 PDT 2024


================
@@ -13,10 +13,12 @@
 // explicit extents(Integrals...) -> see below;
 //   Constraints: (is_convertible_v<Integrals, size_t> && ...) is true.
 //
-// Remarks: The deduced type is dextents<size_t, sizeof...(Integrals)>.
+// Remarks: The deduced type is dextents<size_t, sizeof...(Integrals)>.           // until C++26
+// Remarks: The deduced type is extents<size_t, maybe-static-ext<Integrals>...>.  // since C++26
----------------
mordante wrote:

```suggestion
// Remarks: The deduced type is extents<size_t, sizeof...(Integrals)>.            // until C++26
// Remarks: The deduced type is extents<size_t, maybe-static-ext<Integrals>...>.  // since C++26
```

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


More information about the libcxx-commits mailing list