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

Dp container copy 2 #20

Closed
wants to merge 13 commits into from

Conversation

bocchino
Copy link

@bocchino bocchino commented Apr 28, 2024

This PR is a revised version of #19. I've submitted a separate PR for comparison. This version adds derived classes of ExternalSerializeBuffer with data and member copy semantics. I think this version may be better because it relies more on the C++ compiler and requires less manual code and generated code. In particular, the issue that we saw is fixed with no updates to FPP code gen. If we go with the solution in #19, then any object that includes an ExternalSerializeBuffer as a member will need a manual and/or code-generated copy assignment operator. @timcanham @LeStarch see what you think.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@bocchino bocchino mentioned this pull request Apr 29, 2024
Make copy assignment operator protected to avoid slicing
Make copy assignment operator protected
Update unit tests to match
Test container assignment
@bocchino
Copy link
Author

bocchino commented May 1, 2024

Closing as superseded by nasa#2711.

@bocchino bocchino closed this May 1, 2024
@bocchino bocchino deleted the dp-container-copy-2 branch May 1, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant