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

Skip to content

Conversation

@frederick-vs-ja
Copy link
Contributor

@frederick-vs-ja frederick-vs-ja commented Dec 1, 2022

And then the exception specification can be strengthened.

_C_str always returns a non-null pointer to an NTBS, so it's safe to directly pass the result to strcmp.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner December 1, 2022 09:24
@strega-nil-ms
Copy link
Contributor

Thanks for noticing this!

@StephanTLavavej StephanTLavavej added the performance Must go faster label Dec 2, 2022
@StephanTLavavej StephanTLavavej self-assigned this Dec 5, 2022
@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 8086a2b into microsoft:main Dec 6, 2022
@StephanTLavavej
Copy link
Member

Thanks again for finding and improving this! 😺 🎉 ✨

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

Labels

performance Must go faster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants