Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@JMazurkiewicz
Copy link
Contributor

@JMazurkiewicz JMazurkiewicz commented Apr 6, 2023

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 JMazurkiewicz requested a review from a team as a code owner April 6, 2023 22:18
@JMazurkiewicz JMazurkiewicz changed the title <mdspan>: Fix extents's deduction guide <mdspan>: Cleanup extents's deduction guide Apr 6, 2023
@StephanTLavavej StephanTLavavej added the mdspan C++23 mdspan label Apr 6, 2023
@StephanTLavavej StephanTLavavej merged commit f4934c6 into microsoft:feature/mdspan2 Apr 7, 2023
@StephanTLavavej
Copy link
Member

😻 🧹 ✅

@JMazurkiewicz 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