-
Inspired by #4776
There are Clang intrinsics used in `_Mul_overflow` and `_Add_overflow`
MSVC has its own `_mul_full_overflow_u8` and others.
Using them would certainly result in a better cod…
-
- [mdspan.extents.expo]
-
There is no reason stride of 0 should be prohibited, but the current paper does.
-
What is the status of C-style array syntax for extents `T[M][N]` for mdspan?
Is it still 'preferred'?
At some point around r5 of P0009 this 'preferred' natural syntax for extents was bumped to an …
-
With the recent possibility for mdspan to choose the `index_type`, I think we should a signed integer type common for `DiscreteElementType`, `std::extents` and iterators difference_type that is to say…
-
## Intro
- `submdspan` was an important part of the `mdspan` proposal P0009.
- But: deferred to C++26 due to limits in available LWG review cycles
*This opens up an opportunity however:* **Let …
-
# P2642 (padded mdspan layouts)
## Use cases
1. Overaligned start of each contiguous segment of elements
* Explicit SIMD usually requires overalignment by SIMD width
* "Pitched" al…
-
I ran into this problem with mdspan layouts, when I tried to rely on the implicitly defined deduction guides.
That works but produces a warning with `-Wctad-maybe-unsupported` on the compile line.
…
-
Calculations with Eigen vectors assign some internal type to `auto` variables which is inconvenient at times. Consider using std::array instead. If needed Eigen::Map or std::mdspan could be used withi…
iljah updated
8 months ago
-
## Problem: Conversion to mdspan assumes `default_accessor`
As of P1684R3, mdarray has two conversions to mdspan.
* `operator mdspan()`
* `to_mdspan(const OtherAccessor&)`
Both of these ass…