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

copy constructor is implicitly deleted because 'OutputArchiveBase' has a user-declared move constructor #815

Open
andrewkcorcoran opened this issue Feb 14, 2024 · 1 comment

Comments

@andrewkcorcoran
Copy link

db6586e changed the move constructors and the move assignment operators of OutputArchiveBase and InputArchiveBase to be user defined instead of = default. As a result the move constructors and assignment operators of all dervied classes have been deleted as ... "If the class definition declares a move constructor or move assignment operator, the implicitly declared copy constructor is defined as deleted".

This prevents users from using std::move on all archives!

@redchairman
Copy link

redchairman commented Feb 14, 2024 via email

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

No branches or pull requests

2 participants