Skip to content

Use casts to underlying types to eliminate bitwise ops on enums - #270

Merged
jefftrull merged 1 commit into
boostorg:developfrom
jefftrull:bugfix/eliminate-bitwise-enum-diff-types
Sep 29, 2026
Merged

jefftrull merged 1 commit into
boostorg:developfrom
jefftrull:bugfix/eliminate-bitwise-enum-diff-types

Conversation

@jefftrull

Copy link
Copy Markdown
Collaborator

Doing bitwise operations on enums of differing types was deprecated in C++20 and forbidden in C++23;
we are starting to encounter this in CI

Doing bitwise operations on enums of differing types was deprecated in
C++20 and forbidden in C++23; we are starting to encounter this in CI
@jefftrull
jefftrull merged commit 2f2cb6a into boostorg:develop Sep 29, 2026
2 of 7 checks passed
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.

1 participant