cpp-proposals-pub
cpp-proposals-pub copied to clipboard
Collaborating on papers for the ISO C++ committee - public repo
Abstract: We propose the following change to the C++ Working Paper. If an `mdspan` object `x` has noncomplex `value_type`, and if that `mdspan` does not already have accessor type `conjugated_accessor`...
I've already submitted this for the 2024/04/16 mailing. Abstract: We propose to change the C++ Working Paper so that `linalg::transposed` includes special cases for `layout_left_padded` and `layout_right_padded`. These are the...
Making this just a draft for now in case it's useful. This 1. fixes the reference to mdspan 2. apparently cleans up line endings (sorry, my editor...) 3. OtherLayoutType ->...
# P2642: LWG 2024/02/28 review ## Changes from previous review > "Paragraph numbers are off at the top of the wording." (This is still the case; it awaits more time...
Suppose that I want to vectorize a 1-D array copy operation using `mdspan` and `aligned_accessor` (P2897). I have a `copy_8_floats` function that expresses a hardware instruction for copying a contiguous...
# Add `transposed` special cases for P2642 layouts ## Problem P1673's `transposed` doesn't have special cases for P2642's `layout_left_padded` and `layout_right_padded`. As a result, `transposed` will return `layout_transpose` of these...
# Define `submdspan_mapping` for `layout_transpose` ## Problem `transposed` of a custom layout `CustomLayout` (currently, a layout that is not `layout_left`, `layout_right`, or `layout_stride`) results in `layout_transpose`. `layout_transpose` does _not_ define...
# Fixes for changes from LWG 2024/01/31 ## [mdspan.layout.leftpadded.cons] The `constexpr mapping(const extents_type& ext);` constructor currently has the following precondition (paragraph 2.2). ``` * [2.2]{.pnum} If `extents_type::rank()` is greater than...
Para 12.3 of the converting constructor from `layout_stride::mapping` explicitly divides by zero if the leftmost resp. rightmost extent is zero. This a general issue with other constructors as well, e.g.,...