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>: Use concepts everywhere and add mdspan deduction guides #3564

Merged

Conversation

JMazurkiewicz
Copy link
Contributor

  • Replace (almost) all uses of enable_if with concepts,
  • Add missing mdspan deduction guides.

Drive-by:

  • Remove unnecessary includes,
  • Remove 2 non-standard constructors (one from layout_stride::mapping and one from mdspan),
  • Improve some comments,

@JMazurkiewicz JMazurkiewicz requested a review from a team as a code owner March 13, 2023 08:54
@StephanTLavavej StephanTLavavej added the mdspan C++23 mdspan label Mar 13, 2023
stl/inc/mdspan Show resolved Hide resolved
stl/inc/mdspan Show resolved Hide resolved
@StephanTLavavej StephanTLavavej merged commit 187a036 into microsoft:feature/mdspan2 Mar 14, 2023
@JMazurkiewicz JMazurkiewicz deleted the mdspan/all-concepts branch March 14, 2023 00:36
@StephanTLavavej
Copy link
Member

Thanks for the high-concept PR! 😻

JMazurkiewicz added a commit to JMazurkiewicz/STL that referenced this pull request Mar 17, 2023
JMazurkiewicz added a commit to JMazurkiewicz/STL that referenced this pull request Mar 25, 2023
JMazurkiewicz added a commit to JMazurkiewicz/STL that referenced this pull request Mar 25, 2023
JMazurkiewicz added a commit to JMazurkiewicz/STL that referenced this pull request Mar 25, 2023
JMazurkiewicz added a commit to JMazurkiewicz/STL that referenced this pull request Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mdspan C++23 mdspan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants