Skip to content

Conversation

@elbeno
Copy link
Contributor

@elbeno elbeno commented Feb 16, 2025

Problem:

  • STATIC_ASSERT before C++26 relies on some interesting compiler behaviour; although it gives the right message, it's not obvious in the compilation output.

  • When C++26 static_assert is available, use that. The resulting compiler output is typically much more straightforward.

Problem:
- `STATIC_ASSERT` before C++26 relies on some interesting compiler behaviour;
  although it gives the right message, it's not obvious in the compilation
  output.

- When C++26 `static_assert` is available, use that. The resulting compiler
  output is typically much more straightforward.
@elbeno
Copy link
Contributor Author

elbeno commented Feb 18, 2025

This PR should build when intel/cicd-repo-infrastructure#126 is merged

Copy link
Contributor

@lukevalenty lukevalenty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 😎

@elbeno elbeno enabled auto-merge February 19, 2025 00:49
@elbeno elbeno merged commit 1f7d93a into intel:main Feb 19, 2025
32 checks passed
@elbeno elbeno deleted the support-26-static-assert branch October 16, 2025 20:09
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