[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
Tue May 21 10:08:55 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:

Sorry I missed this comment. In the wording we prefer to use the exact wording in the Standard. In the code, where allowed, we sometimes deviate.

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


More information about the libcxx-commits mailing list