Skip to content

🔥 Remove pre-c++23 compiler macros#361

Merged
elbeno merged 4 commits into
intel:mainfrom
elbeno:remove-pre-cpp23
Apr 30, 2026
Merged

🔥 Remove pre-c++23 compiler macros#361
elbeno merged 4 commits into
intel:mainfrom
elbeno:remove-pre-cpp23

Conversation

@elbeno
Copy link
Copy Markdown
Contributor

@elbeno elbeno commented Apr 29, 2026

No description provided.

elbeno added 4 commits April 29, 2026 15:08
Problem:
- All targeted compilers support `constinit`. There is no need for `CONSTINIT`
  any more.

Solution:
- Remove `CONSTINIT` macro.
Problem:
- `STDX_NRVO` is detected incorrectly with `NRVO`.

Solution:
- Fix the detection.
Problem:
- All targeted compilers support `consteval`. There is no need for `CONSTEVAL`
  any more.

Solution:
- Remove `CONSTEVAL` macro.
Problem:
- `CONSTEVAL_UDL` is a workaround for a problem in older clang compilers that is
  not needed any more.

Solution:
- Remove `CONSTEVAL_UDL` macro.
@elbeno elbeno merged commit 45b489f into intel:main Apr 30, 2026
27 checks passed
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