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

Fix deprecated copy warnings #153

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

apolukhin
Copy link
Member

All the implicit special member functions made explicit in this PR.
It fixes the compilation and test runs with ./b2 libs/numeric/ublas/test/ cxxstd=17 "cxxflags=-Werror=deprecated-copy" toolset=clang-13 -j4

All the implicit special member functions made explicit in this PR.
It fixes the compilation and test runs with `./b2 libs/numeric/ublas/test/ cxxstd=17 "cxxflags=-Werror=deprecated-copy" toolset=clang-13 -j4`
@amitsingh19975
Copy link
Collaborator

If I'm correct, it won't be a problem if we follow the rule of six. This warning arises when you give the copy assignment constructor without providing the default copy constructor. I assume the ublas code base follows the rule of six. If it does not, we have to fix that.

Godbolt

@apolukhin
Copy link
Member Author

Yes, you are right. This PR adds the missing functions for C++11

@amitsingh19975
Copy link
Collaborator

Yes, you are right. This PR adds the missing functions for C++11

Ok.

Copy link
Collaborator

@amitsingh19975 amitsingh19975 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good, and thanks for contributing.

@apolukhin
Copy link
Member Author

Gentle reminder

@apolukhin
Copy link
Member Author

@bassoy gentle reminder

@apolukhin
Copy link
Member Author

@amitsingh19975 could you please somehow speedup the PR review process?

@amitsingh19975
Copy link
Collaborator

It's up to others. I cannot do anything. I would recommend contacting @bassoy via email or someone who has much more power than me.

@apolukhin
Copy link
Member Author

@bassoy Please merge

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.

3 participants