Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Oct 1, 2024

Problem:

  • It's useful to assign the result of ct_check::emit to a declared variable in cases where we aren't inside a function. For example, a fallback instantiation of a class template that wants to emit an error can declare a member variable.

Solution:

  • Return a value from ct_check::emit.

Problem:
- It's useful to assign the result of `ct_check::emit` to a declared variable in
  cases where we aren't inside a function. For example, a fallback instantiation
  of a class template that wants to emit an error can declare a member variable.

Solution:
- Return a value from `ct_check::emit`.
@lukevalenty lukevalenty merged commit 67120f7 into intel:main Oct 1, 2024
32 checks passed
@elbeno elbeno deleted the ct-check-value branch October 3, 2024 22:22
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