Skip to content

🐛 Fix STATIC_ASSERT capture spec #251

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
Jul 11, 2025

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Jul 11, 2025

Problem:

  • Sometimes, STATIC_ASSERT may need to capture variables.

Solution:

  • Use [&] as the capture spec in the STATIC_ASSERT lambda expressions.

Problem:
- Sometimes, `STATIC_ASSERT` may need to capture variables.

Solution:
- Use `[&]` as the capture spec in the `STATIC_ASSERT` lambda expressions.
@elbeno elbeno enabled auto-merge July 11, 2025 20:09
@elbeno elbeno merged commit 526e301 into intel:main Jul 11, 2025
82 of 84 checks passed
@elbeno elbeno deleted the fix-static-assert-capture branch July 11, 2025 20:39
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