-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 tag dispatch with if constexpr
for _Choose_pocca
, _Choose_pocma
#2217
Conversation
if constexpr
for _Choose_pocca
if constexpr
for _Choose_pocca
, _Choose_pocma
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I've validated and will push changes.
FYI @CaseyCarter, I pushed changes after you approved. As @AlexGuteniev noted, in #2217 (comment) you had asked for The necessary code is a simple guard type, expressed with a (We could actually drop the guard type and repeat the invariant checks before every return - which would be less severe than duplicating the actual logic - but I felt that the guards were the simplest.) Requesting double-final review as these changes are a bit larger than the typical stuff I push. |
I'm mirroring this to an MSVC-internal PR; please notify me if any further changes are pushed. |
Thanks for improving this code - all shall love |
…e_pocma` (microsoft#2217) Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Towards #189