aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.h
diff options
context:
space:
mode:
authorLuc Grosheintz <luc.grosheintz@gmail.com>2025-07-04 10:29:46 +0200
committerTomasz Kamiński <tkaminsk@redhat.com>2025-07-08 13:48:56 +0200
commitaa961cae42e23461887a6cf38aa47413b8425243 (patch)
tree75fb2797d896b917664fa8a0ad8e8eab32f8753f /gcc/rust/backend/rust-compile-struct-field-expr.h
parent45b81ebf7815e3cea15f6fb18e83a101a4c50fb3 (diff)
downloadgcc-aa961cae42e23461887a6cf38aa47413b8425243.zip
gcc-aa961cae42e23461887a6cf38aa47413b8425243.tar.gz
gcc-aa961cae42e23461887a6cf38aa47413b8425243.tar.bz2
libstdc++: Implement __mdspan::__size.
The current code uses __mdspan::__fwd_prod(__exts, __rank) to express computing the size of an extent. This commit adds an function __mdspan:: __size(__exts) to express the idea more directly. libstdc++-v3/ChangeLog: * include/std/mdspan (__mdspan::__size): New function. Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com> Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions