Skip to content

<mdspan>: Add new debug checks to layout mappings - #3702

Merged
Stephan T. Lavavej (StephanTLavavej) merged 2 commits into
microsoft:feature/mdspan2from
JMazurkiewicz:mdspan/index-in-space
May 15, 2023
Merged

<mdspan>: Add new debug checks to layout mappings#3702
Stephan T. Lavavej (StephanTLavavej) merged 2 commits into
microsoft:feature/mdspan2from
JMazurkiewicz:mdspan/index-in-space

Conversation

@JMazurkiewicz

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

Copy link
Copy Markdown
Contributor

Comment thread tests/std/tests/P0009R18_mdspan_layout_right/test.cpp
}

void test_call_operator() {
layout_stride::mapping<extents<unsigned, 5, 3, 4>> m;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick for followup: We conventionally say unsigned int instead of unsigned.

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 67b9723 into microsoft:feature/mdspan2 May 15, 2023
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks, looks great! 😻 I had a couple of nitpicks for followup but they weren't worth resetting testing here, they can be addressed later.

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.

2 participants