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
Some language mappings don't support equality comparison #4154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's also an error in the multi topic test. I think I converted that test to use the C++11 mapping at some point and probably implemented my own operators that now should probably be removed.
Does this work with valuetypes? The IDL to C++11 language mapping doesn’t define these operators as not all IDL types are comparable, but very likely the subset currently used by OpenDDS does by accident |
No; |
Any documentation extension needed (including warning that the generation of the operator is non-portable and has certain restrictions)? |
a431549
to
ab721c3
Compare
Problem ------- The type support for C++11 does not include equality operators (`==` and `!=`). These operators make the IDL defined types easier to use with generic programming techniques. Solution -------- Implement support for `==` and `!=`. Currently, this support is enabled by passed `-Gequality` to `opendds_idl`.
Problem
The type support for C++11 does not include equality operators (
==
and!=
). The operators make the IDL defined types easier to use with generic programming techniques.Solution
Implement support for
==
and!=
.