[libcxx-commits] [libcxx] [libc++] P3029R1: Better `mdspan`'s CTAD - `std::extents` (PR #89015)
Xiaoyang Liu via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 21 13:09:47 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
----------------
xiaoyang-sde wrote:
Thanks! I believe the existing patch matches the wording in the standard: https://github.com/cplusplus/draft/pull/6907/files#diff-3b5851f7056b7c68cb3ba2ab51cf0b75a780c6a11e5e181770067700454ace7bL19461-R19468
(Correct me if I'm wrong)
https://github.com/llvm/llvm-project/pull/89015
More information about the libcxx-commits
mailing list