Skip to content

✅ Add tests for to_underlying with arithmetic types #228

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented May 23, 2025

Problem:

  • to_underlying works with many types, but is only tested with enums and int.

Solution:

  • Add template tests for more integral and floating-point types.

Problem:
- `to_underlying` works with many types, but is only tested with enums and
  `int`.

Solution:
- Add template tests for more integral and floating-point types.
@elbeno elbeno enabled auto-merge May 23, 2025 15:33
@elbeno elbeno merged commit 8224f84 into intel:main May 23, 2025
42 checks passed
@elbeno elbeno deleted the add-to-underlying-tests branch May 23, 2025 22:35
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