Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Sep 19, 2024

Problem:

  • Putting class types into a tuple uses inheritance.
  • A tuple inside a tuple may produce the same base type more than once in the tree, leading to indexing ambiguity.

Solution:

  • Use composition only, not inheritance, for tuple elements.

Problem:
- Putting class types into a tuple uses inheritance.
- A tuple inside a tuple may produce the same base type more than once in the
  tree, leading to indexing ambiguity.

Solution:
- Use composition only, not inheritance, for tuple elements.
@lukevalenty lukevalenty merged commit 66f25a0 into intel:main Sep 23, 2024
31 checks passed
@elbeno elbeno deleted the unambiguous-tuple branch October 9, 2024 20:13
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.

2 participants