Skip to content

Conversation

franzpoeschel
Copy link
Contributor

@franzpoeschel franzpoeschel commented Aug 11, 2025

We do not modify buffers in storeChunk(), and I think by our API contract we would/should not be allowed to anyway?

TODO:

  • Do the same for shared_ptr overloads, too. Nah, don't. The type system does not deduce shared_ptr<T> to shared_ptr<T const>, so we need the overload.
  • Do NOT do this for unique_ptr overloads, we are allowed to modify these as unique owners.

@franzpoeschel franzpoeschel merged commit 80a3179 into openPMD:dev Sep 3, 2025
39 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants