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

Skip to content

Conversation

@CaseyCarter
Copy link
Contributor

... which shouldn't even be there, but can't be removed because ABI.

Fixes DevCom-10299275 / VSO-1759562 / AB#1759562.

Notably this will fail with T's that cannot be {}-initialized, e.g., types with explicit default constructors. We could work around that in C++17-and-later by initializing the array with {T()}, but I didn't want to obfuscate the code and I feel these two corner cases are incredibly unlikely to occur together.

... which shouldn't even be there, but can't be removed because ABI.

Fixes DevCom-10299275 / VSO-1759562 / AB#1759562.
@CaseyCarter CaseyCarter added the bug Something isn't working label Jul 11, 2023
@CaseyCarter CaseyCarter requested a review from a team as a code owner July 11, 2023 15:51
@StephanTLavavej StephanTLavavej self-assigned this Jul 12, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit a916571 into microsoft:main Jul 14, 2023
@StephanTLavavej
Copy link
Member

Thanks for fixing this notoriously annoying bug! 🐞 🛠️ ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants