Skip to content

🐛 Fix CX_WRAP for empty types#253

Merged
bdeane-intel merged 1 commit intointel:mainfrom
elbeno:fix-cx-wrap
Jul 14, 2025
Merged

🐛 Fix CX_WRAP for empty types#253
bdeane-intel merged 1 commit intointel:mainfrom
elbeno:fix-cx-wrap

Conversation

@elbeno
Copy link
Contributor

@elbeno elbeno commented Jul 14, 2025

Problem:

  • When CX_WRAP wraps empty types, it doesn't turn them into type_identity<T>.

Solution:

  • Move the emptiness check after the type check.

Problem:
- When `CX_WRAP` wraps empty types, it doesn't turn them into
  `type_identity<T>`.

Solution:
- Move the emptiness check after the type check.
@bdeane-intel bdeane-intel merged commit 3023efe into intel:main Jul 14, 2025
42 checks passed
@elbeno elbeno deleted the fix-cx-wrap branch July 14, 2025 19:28
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