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 is_scoped_enum #174

Merged
merged 2 commits into from
Nov 22, 2024
Merged

Add is_scoped_enum #174

merged 2 commits into from
Nov 22, 2024

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Nov 22, 2024

No description provided.

Problem:
- `is_scoped_enum_v` is fine, but a type is also needed for use in the
  `has_trait` concept.

Solution:
- Add `is_scoped_enum`.
Problem:
- It is convenient to construct a bitset with bits that are identified with enum
  values.

Solution:
- Allow the `place_bits` constructor to take enumeration values.
@lukevalenty lukevalenty merged commit c8235ab into intel:main Nov 22, 2024
32 checks passed
@elbeno elbeno deleted the add-type-traits branch November 22, 2024 04:31
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