-
Notifications
You must be signed in to change notification settings - Fork 22
[Feature] Preserve shared_ptrs for non-const-ref std::vector conversion #100
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
base: master
Are you sure you want to change the base?
Conversation
|
@jpfeuffer this sounds good if that is the case we described, can you add a test to autowrap? also why does this add a ton of boost code? |
|
Can we add a switch to enable or disable |
|
@uweschmitt Yes, I considered that already. Will do. |
|
Oh, by the way, libcpp_move requires a fairly recent Cython. Are you okay with that? |
Yes, a minimal version requirement can be specified in |
Preserves the old PyClass instances and their memory and allocates the difference to the new size.
Also removes one copy, since it copies the data directly to the memory addresses of the old and new Python objects.