Skip to content
Commit b4ff8938 authored by Christian Trott's avatar Christian Trott
Browse files

[libc++][mdspan] Implement layout_left

This commit implements layout_left in support of C++23 mdspan
(https://wg21.link/p0009

). layout_left is a layout mapping policy
whose index mapping corresponds to the memory layout of Fortran arrays.
Thus the left most index has stride-1 access, and the right most index
is associated with the largest stride.

Co-authored-by: default avatarDamien L-G <dalg24@gmail.com>

Differential Revision: https://reviews.llvm.org/D153783
parent 9979417d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment