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

<valarray>: Cleanups and length checking for binary operations #3911

Merged
merged 8 commits into from
Sep 14, 2023

Conversation

frederick-vs-ja
Copy link
Contributor

@frederick-vs-ja frederick-vs-ja commented Jul 29, 2023

Follows up #3887.

This PR

  • fuses _Tidy_init and _Assign_rv into callers/default member initializers, with some simplification, and
  • adds noexcept to some internal functions, which was lacked in the previous PR, and
  • requires that two valarrays to have the same length when passed to binary operations.

atan2 and pow currently have no preconditions, I've filed LWG-3964 for them.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner July 29, 2023 17:18
@AlexGuteniev

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Jul 30, 2023
@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej self-assigned this Jul 30, 2023
@AlexGuteniev

This comment was marked as resolved.

@AlexGuteniev

This comment was marked as resolved.

@StephanTLavavej

This comment was marked as resolved.

@AlexGuteniev

This comment was marked as resolved.

@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej removed their assignment Sep 7, 2023
@StephanTLavavej

This comment was marked as resolved.

@CaseyCarter CaseyCarter removed their assignment Sep 7, 2023
@StephanTLavavej StephanTLavavej self-assigned this Sep 13, 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 cca303b into microsoft:main Sep 14, 2023
35 checks passed
@StephanTLavavej
Copy link
Member

Thanks for improving these debug checks! ✔️ ✅ ☑️

@frederick-vs-ja frederick-vs-ja deleted the valarray-enhancement branch September 14, 2023 23:30
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.

4 participants