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

Use memcpy when copying structs without copy ctor #601

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

marcauberer
Copy link
Member

Always use memcpy when copying structs and no copyctor is available.
Until now, this was only the case if we were not confronted with the declaration of the lhs variable.

@marcauberer marcauberer added the improvement Improvement of an existing feature label Jun 18, 2024
@marcauberer marcauberer added this to the 0.21.0 milestone Jun 18, 2024
@marcauberer marcauberer self-assigned this Jun 18, 2024
@marcauberer marcauberer requested a review from a team as a code owner June 18, 2024 21:07
@marcauberer marcauberer enabled auto-merge (squash) June 18, 2024 21:07
@marcauberer marcauberer merged commit 8050f73 into main Jun 18, 2024
5 checks passed
@marcauberer marcauberer deleted the feature/memcpy-on-struct-copies branch June 18, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler improvement Improvement of an existing feature size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant