Skip to content
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

Refine relocatable types #188

Open
6 tasks
elfenpiff opened this issue Apr 16, 2024 · 0 comments
Open
6 tasks

Refine relocatable types #188

elfenpiff opened this issue Apr 16, 2024 · 0 comments

Comments

@elfenpiff
Copy link
Contributor

elfenpiff commented Apr 16, 2024

Brief feature description

  • RelocatableContainer requires a type alias to a Config type that is used in new(), new_uninit() and memory_size() to support containers consisting of multiple relocatable containers.
  • Refactor Vec so that there are 3 version, FixedSizeVec, RelocatableVec and just Vec, just like the Queue
  • Refactor ByteString so that there are 3 version, FixedSizeByteString, RelocatableByteString and just ByteString, just like the Queue
  • iceoryx2-bb-elementary must become public API to enable users to implement their own relocatable types.
  • RelocatableContainer requires a consuming drop or destroy method that requires an allocator as well to release the memory acquired with init.
  • Think about a variant with a custom allocator - similar to the RelocatableContainer.
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

No branches or pull requests

1 participant