[Feature] Preserve shared_ptrs for non-const-ref std::vector conversion#100
[Feature] Preserve shared_ptrs for non-const-ref std::vector conversion#100jpfeuffer wants to merge 7 commits intoOpenMS:masterfrom
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.