-
Notifications
You must be signed in to change notification settings - Fork 48
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
Enable copy assignment operator for iterator
class
#389
Enable copy assignment operator for iterator
class
#389
Conversation
@h-vetinari I am expecting this to fix your conda issues! I can't test though, so if you can do so, that would be appreciated. |
This re-enables the copy assignment operator that was implicitly deleted for the `iterator` class, and also cleans some things up since we don't need the duplicate `data_` reference
It seems that the toolchain on 3.6 Windows did not have these implemented yet
3340550
to
efa7733
Compare
Tested in conda-forge/r-arrow-feedstock#94 using conda-forge/r-cpp11-feedstock#27, and it works! 🥳 Thank you very much! Looking forward to 0.4.8! |
Awesome! |
Is there any timeline for this? :) |
It's on cran |
Ah, I was looking at the git tags in repo here and didn't see anything past 0.4.7. Would still be good to tag the versions you release IMO. 🙃 Thanks for the quick response! |
Woops i normally do. Added now https://github.com/r-lib/cpp11/releases/tag/v0.5.0 |
Closes #360
Closes #334
Expands on 686ae04 to carry over some of these changes to
iterator
as well (i.e., not justconst_iterator
). Note that I have not changediterator
to be arandom_access_iterator_tag
, I left it as aforward_iterator_tag
. Making a random access iterator requires many extra methods. I don't even think we implement all of them forconst_iterator
. I've added some comments about that and if we have issues in the future with iterators we should look and see if we just need more methods.