Skip to content

Conversation

lihuiba
Copy link
Collaborator

@lihuiba lihuiba commented Sep 28, 2025

Prior iovector/_view.memcpy_from/to() would consume the bytes in source after copying to destination for some of the overloadings. This semantics is counter-intuitive and error-prone, so we decide to make a breaking change to make them copy-only (not consuming the bytes in the source).

@lihuiba lihuiba force-pushed the iov_memcpy branch 3 times, most recently from d8ee40c to cb29ed0 Compare October 9, 2025 07:53
@Coldwings Coldwings merged commit 33e5bd7 into alibaba:main Oct 10, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

why do non-const iovector_view memcpy_to/memcpy_from mutate original IOVector?

3 participants