Skip to content

Conversation

@elbeno
Copy link
Contributor

@elbeno elbeno commented Jan 29, 2026

Problem:

  • Sometimes we have a need to map types to on/off status. The way we do this right now is clunky, typically using bool variable templates.

Solution:

  • Add a type_bitset which holds one bit per type, and supports set/reset/read on a type basis, as well as some of the usual bitset operations.

Problem:
- Sometimes we have a need to map types to on/off status. The way we do this
  right now is clunky, typically using `bool` variable templates.

Solution:
- Add a `type_bitset` which holds one bit per type, and supports set/reset/read
  on a type basis, as well as some of the usual bitset operations.
@elbeno elbeno force-pushed the type-indexed-bitset branch from 41587bc to 94b7291 Compare January 30, 2026 20:18
@mjcaisse-intel
Copy link
Contributor

Love this change!

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