Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Jul 31, 2024

Problem:

  • equality is not defined for span, so it is also not defined for messages.

Solution:

  • add msg::equivalent to determine whether two message instances are
    equivalent (all fields have the same values).
  • equivalence is defined for all combinations of owning, const and mutable view
    types.

@elbeno elbeno force-pushed the message-equivalence branch 3 times, most recently from 9bb7cd6 to bb75357 Compare July 31, 2024 13:58
Problem:
- equality is not defined for span, so it is also not defined for messages.

Solution:
- add `msg::equivalent` to determine whether two message instances are
  equivalent (all fields have the same values).
- equivalence is defined for all combinations of owning, const and mutable view
  types.
@elbeno elbeno force-pushed the message-equivalence branch from bb75357 to 6659e8d Compare August 1, 2024 17:29
@elbeno elbeno enabled auto-merge August 1, 2024 17:29
@elbeno elbeno merged commit bd40cb6 into intel:main Aug 1, 2024
@elbeno elbeno deleted the message-equivalence branch August 2, 2024 19:29
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

Successfully merging this pull request may close these issues.

3 participants