Skip to content

Conversation

@eldakesh-ms
Copy link
Contributor

  • Enables constexpr_vector_bool testing with MSVC_INTERNAL_TESTING

  • Adds a workaround to _Orphan_range_unlocked in vector<bool>

  • Fixes UB resulting from subtracting from a nullptr

Mirrors changes in MSVC-PR-306712.

* Enables constexpr_vector_bool testing with `MSVC_INTERNAL_TESTING`

* Adds a workaround to `_Orphan_range_unlocked` in `vector<bool>`

* Fixes UB resulting from subtracting from a nullptr
@eldakesh-ms eldakesh-ms requested a review from a team as a code owner February 25, 2021 15:15
Copy link
Contributor

@miscco miscco left a comment

Choose a reason for hiding this comment

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

I am not a fan of _Temp as a name. On the other hand I cannot give a better name and the whole code there is cursed.

LGTM

@StephanTLavavej StephanTLavavej merged commit 8734115 into microsoft:main Feb 25, 2021
@StephanTLavavej
Copy link
Member

Thanks for improving this test coverage and fixing long-standing undefined behavior! 😻 🚀 🎉

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants