-
Notifications
You must be signed in to change notification settings - Fork 165
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
Add move semantics to image class #457
Conversation
716a867
to
580fbf7
Compare
580fbf7
to
c965b30
Compare
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.
@sdebionne Thanks for the contribution. Here is my first review.
c965b30
to
7d8df1c
Compare
@mloskot I rebased on develop and made the changes we discussed. If the tests pass, I'll mark it ready for review. |
@sdebionne I also asked for feedback on the Boost list in [gil] Review of move assignment operator for image class |
Found a good comment related to solutions we are discussing here:
from https://quuxplusone.github.io/blog/2019/08/02/the-tough-guide-to-cpp-acronyms/#pocca-pocma-pocs |
It explains why MSVC's STL has this special case for I'll give it a go by the end of the week. |
I think, it is and http://eel.is/c++draft/allocator.traits#types-10 says
Additionally, MSVC++ std lib has this base case template template <class _Ty, class = void>
struct _Get_is_always_equal {
using type = typename is_empty<_Ty>::type;
}; |
6a79741
to
f9e3684
Compare
@mloskot Are you aware that "the hosted agent vs2015-win2012r2 was permanently removed on April 2nd, 2020. See https://aka.ms/blocked-hosted-agent for more information" (from azure pipelines)? |
Yes, I am. @sdebionne I have removed the VS2015 job now 5d531ed BTW, I am going to use this as opportunity to switch to https://github.com/boostorg/boost-ci/ setup, but have been waiting for merge of some major refactoring of boost-ci. I will try to switch GIL AzP setup to boost-ci today/tomorrow. |
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.
@sdebionne Looks good to me and ready to merge. Thanks!
Do you want to update this PR to get rid of the VS2015 job?
…pagate_on_container_move_assignment and rebinded allocator type to choose pocma.
f9e3684
to
a9ee91e
Compare
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.
LGTM
Thanks for the contribution!
Description
Add move semantic to
image
.References
Tasklist