Skip to content

<mdspan>: Cleanup extents's deduction guide - #3632

Merged
Stephan T. Lavavej (StephanTLavavej) merged 2 commits into
microsoft:feature/mdspan2from
JMazurkiewicz:mdspan/extents-deduction-guide
Apr 7, 2023
Merged

<mdspan>: Cleanup extents's deduction guide#3632
Stephan T. Lavavej (StephanTLavavej) merged 2 commits into
microsoft:feature/mdspan2from
JMazurkiewicz:mdspan/extents-deduction-guide

Conversation

@JMazurkiewicz

@JMazurkiewicz Jakub Mazurkiewicz (JMazurkiewicz) commented Apr 6, 2023

Copy link
Copy Markdown
Contributor

This small PR removes workaround for extents's deduction guide ICE. It looks like the code was incorrect anyway (meaning it is ICE on invalid) and Clang incorrectly accepts it.

Here is a minimal repro: https://godbolt.org/z/Wdjq5boG3, feel free to report it to both LLVM and MSVC (and maybe to GCC, this error message is awful).

Drive-by: address comment from previous PR.

@JMazurkiewicz Jakub Mazurkiewicz (JMazurkiewicz) changed the title <mdspan>: Fix extents's deduction guide <mdspan>: Cleanup extents's deduction guide Apr 6, 2023
@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit f4934c6 into microsoft:feature/mdspan2 Apr 7, 2023
@StephanTLavavej

Copy link
Copy Markdown
Member

😻 🧹 ✅

@JMazurkiewicz
Jakub Mazurkiewicz (JMazurkiewicz) deleted the mdspan/extents-deduction-guide branch April 7, 2023 08:27
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