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

Add equality operators to cxx::variant and cxx::expected #1751

Closed
mossmaurice opened this issue Oct 19, 2022 · 1 comment · Fixed by #1757
Closed

Add equality operators to cxx::variant and cxx::expected #1751

mossmaurice opened this issue Oct 19, 2022 · 1 comment · Fixed by #1757
Assignees
Labels
enhancement New feature

Comments

@mossmaurice
Copy link
Contributor

mossmaurice commented Oct 19, 2022

Brief feature description

Add the equality operators operator==() and operator!=() to cxx::variant and cxx::expected outside of the class to follow AUTOSAR rule A13-5-5.

@mossmaurice mossmaurice added the enhancement New feature label Oct 19, 2022
@mossmaurice mossmaurice self-assigned this Oct 19, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 20, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 20, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 20, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 20, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 20, 2022
@elfenpiff
Copy link
Contributor

Neither expected nor variant have implemented a comparison operator so why add them now? What kind of purpose/feature would we cover with it?

mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 25, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants