Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdspan: question about layout_stride constructors for layout_left and layout_right #402

Open
MattStephanson opened this issue Aug 15, 2023 · 1 comment

Comments

@MattStephanson
Copy link
Contributor

While reviewing <mdspan> for MSVC STL, @StephanTLavavej noticed that the layout_stride::mapping constructor is noexcept for layout_right::mapping, but not for layout_left::mapping. It appears this happened in #181. They both have similar preconditions, so we're not sure if there's a reason for it that's escaped us, or if it was a typo.

@dalg24
Copy link
Member

dalg24 commented Aug 16, 2023

This is an oversight. We will submit a defect report for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants