Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Oct 28, 2024

Problem:

  • ct_check<cond>.template emit<msg>() is not so ergonomic to use.

Solution:

  • Add STATIC_ASSERT which does approximately the same thing, but in a more easy-to-use form.

Problem:
- `ct_check<cond>.template emit<msg>()` is not so ergonomic to use.

Solution:
- Add `STATIC_ASSERT` which does approximately the same thing, but in a more
  easy-to-use form.
@bdeane-intel
Copy link
Contributor

NOTE: STATIC_ASSERT(cond, msg) is an expression that evaluates to the value of cond.

@elbeno elbeno merged commit 9488ac9 into intel:main Oct 29, 2024
32 checks passed
@elbeno elbeno deleted the add-static-assert branch October 29, 2024 18:00
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.

3 participants