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

Implement Ord so that ServiceName can be used in a BTreeMap #110

Closed
elfenpiff opened this issue Feb 7, 2024 · 0 comments · Fixed by #111
Closed

Implement Ord so that ServiceName can be used in a BTreeMap #110

elfenpiff opened this issue Feb 7, 2024 · 0 comments · Fixed by #111
Assignees
Labels
enhancement New feature or request

Comments

@elfenpiff
Copy link
Contributor

(Code) Example Of Cumbersome API

Currently, the ServiceName does not implement Ord and can therefore not be used in BTreeMap.

Improvement Suggestion

Implement Ord and PartialOrd for FixedByteString and then implement it in ServiceName via the derive macro.

@elfenpiff elfenpiff added the enhancement New feature or request label Feb 7, 2024
@elfenpiff elfenpiff self-assigned this Feb 7, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 7, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 7, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 7, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 8, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 8, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 8, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 8, 2024
elfenpiff added a commit that referenced this issue Feb 8, 2024
[#110] Implement `Ord` and `PartialOrd` for `ServiceName`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant