diff options
author | Christian Trott <crtrott@sandia.gov> | 2023-10-20 08:13:52 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 08:13:52 -0600 |
commit | 639a0986f3a34d52533a726e2a4193411cc1312f (patch) | |
tree | a247ddc64ef4b6a1456a411e68d736b7414b3d72 /libcxx/include/__fwd | |
parent | 2a32afddf5594b7ca8c6aa67a5731612134f29f9 (diff) | |
download | llvm-639a0986f3a34d52533a726e2a4193411cc1312f.zip llvm-639a0986f3a34d52533a726e2a4193411cc1312f.tar.gz llvm-639a0986f3a34d52533a726e2a4193411cc1312f.tar.bz2 |
[libc++] mdspan - implement layout_stride (#69650)
This implements layout_stride for C++23 and with that completes the
implementation of the C++23 mdspan header. The feature test macro is
added, and the status pages updated.
Co-authored-by: Damien L-G <dalg24@gmail.com>
Differential Revision: https://reviews.llvm.org/D157171
Diffstat (limited to 'libcxx/include/__fwd')
-rw-r--r-- | libcxx/include/__fwd/mdspan.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libcxx/include/__fwd/mdspan.h b/libcxx/include/__fwd/mdspan.h index a3628c2..8889567 100644 --- a/libcxx/include/__fwd/mdspan.h +++ b/libcxx/include/__fwd/mdspan.h @@ -42,14 +42,11 @@ struct layout_right { class mapping; }; -/* -// Will be implemented with follow on revision // Layout policy with a unique mapping where strides are arbitrary struct layout_stride { - template<class Extents> - class mapping; + template <class _Extents> + class mapping; }; -*/ #endif // _LIBCPP_STD_VER >= 23 |