Please feel free to give me some feedback on the proposal.
 
The "Effects: Equivalent to:" can be replaced with the simpler form of "Returns: operator[](...).", and there is no need to mention "with bounds checking" as this is already reflected in "Throws", although "Throws"'s description seems too short and vague.

Hewill



Stephan Lachnit <stephan.lachnit@cern.ch> 於 2023年12月7日 週四 下午8:47寫道:
Hey C++ folks,

I want to propose to add memory-safe element access via `.at()` to `mdspan` for C++ 26, similar to how `span.at()` was added to C++26. This has already been discussed here before [2], so I went ahead and wrote the paper. You can find my proposal online [1].

Please feel free to give me some feedback on the proposal. I'm also looking for a co-author on the paper, since I unfortunately do not have the (financial) means to present this to the ISO C++ committee.

Cheers,
Stephan

[1]: https://stephanlachnit.github.io/mdspan-at/
[2]: https://lists.isocpp.org/std-proposals/2023/11/index.php#msg8301