Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace if with if constexpr #3958

Merged
merged 1 commit into from
Aug 18, 2023
Merged

Conversation

grcm10
Copy link
Contributor

@grcm10 grcm10 commented Aug 13, 2023

Resolve #3929
I'm sorry I accidentally close the origin pull request... I upload it again. thank you.

@grcm10 grcm10 requested a review from a team as a code owner August 13, 2023 00:38
@jovibor
Copy link
Contributor

jovibor commented Aug 13, 2023

You could just reopen it.

@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Aug 13, 2023
@StephanTLavavej StephanTLavavej self-assigned this Aug 17, 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 292ff9b into microsoft:main Aug 18, 2023
37 checks passed
@StephanTLavavej
Copy link
Member

Thanks for improving this codegen and congratulations on your first microsoft/STL commit! 🎉 😻 🚀

This change will ship in VS 2022 17.8 Preview 3.

@grcm10 grcm10 deleted the ifconstexpr branch August 21, 2023 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something can be improved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<__msvc_chrono.hpp>: duration_cast only needs compile time branches
5 participants