Skip to content

<mdspan>: Implement multidimensional subscript operator - #3689

Merged
Stephan T. Lavavej (StephanTLavavej) merged 5 commits into
microsoft:feature/mdspan2from
JMazurkiewicz:mdspan/subscript-operator
May 24, 2023
Merged

<mdspan>: Implement multidimensional subscript operator#3689
Stephan T. Lavavej (StephanTLavavej) merged 5 commits into
microsoft:feature/mdspan2from
JMazurkiewicz:mdspan/subscript-operator

Conversation

@JMazurkiewicz

@JMazurkiewicz Jakub Mazurkiewicz (JMazurkiewicz) commented May 10, 2023

Copy link
Copy Markdown
Contributor
  • Implement multidimensional subscript operator (Clang only),
  • Remove operator() in all modes,
  • Use span as an argument to mdspan::_Index_impl,
  • Tests now use operator[indices...] when possible, operator[array{indices...}] otherwise.
  • Drive-by: address comments from my previous PRs.

@CaseyCarter Casey Carter (CaseyCarter) removed the blocked Something is preventing work on this label May 18, 2023
@JMazurkiewicz
Jakub Mazurkiewicz (JMazurkiewicz) marked this pull request as ready for review May 18, 2023 23:16
@JMazurkiewicz

This comment was marked as resolved.

Comment thread stl/inc/mdspan
Comment thread stl/inc/mdspan
@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit c600a08 into microsoft:feature/mdspan2 May 24, 2023
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks! Merged with a couple of suggestions for later.

@JMazurkiewicz
Jakub Mazurkiewicz (JMazurkiewicz) deleted the mdspan/subscript-operator branch May 24, 2023 21:19
Jakub Mazurkiewicz (JMazurkiewicz) added a commit to JMazurkiewicz/STL that referenced this pull request May 28, 2023
Jakub Mazurkiewicz (JMazurkiewicz) added a commit to JMazurkiewicz/STL that referenced this pull request May 30, 2023
Jakub Mazurkiewicz (JMazurkiewicz) added a commit to JMazurkiewicz/STL that referenced this pull request Jun 6, 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.

3 participants