Skip to content

🎨 Expose for_each and transform_reduce as bitset memfns - #412

Merged
elbeno merged 1 commit into
intel:mainfrom
elbeno:bitset-for-each-member
Sep 3, 2026
Merged

🎨 Expose for_each and transform_reduce as bitset memfns#412
elbeno merged 1 commit into
intel:mainfrom
elbeno:bitset-for-each-member

Conversation

@elbeno

@elbeno elbeno commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Problem:

  • Having for_each in particular as a free function on bitset increases the work the compiler has to do in overload resolution, concept checking etc.

Solution:

  • Provide for_each and transform_reduce as member functions on bitset.

Note:

  • for_each is already a member function on type_bitset.

Problem:
- Having `for_each` in particular as a free function on `bitset` increases the
  work the compiler has to do in overload resolution, concept checking etc.

Solution:
- Provide `for_each` and `transform_reduce` as member functions on `bitset`.

Note:
- `for_each` is already a member function on `type_bitset`.
@elbeno
elbeno merged commit 6d2776f into intel:main Sep 3, 2026
27 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.

2 participants