-
Notifications
You must be signed in to change notification settings - Fork 152
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
base: develop
Are you sure you want to change the base?
Fix deprecated copy warnings #153
Conversation
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`
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. |
Yes, you are right. This PR adds the missing functions for C++11 |
Ok. |
There was a problem hiding this 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.
Gentle reminder |
@bassoy gentle reminder |
@amitsingh19975 could you please somehow speedup the PR review process? |
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. |
@bassoy Please merge |
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