Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: Require C++20 #287

Merged
merged 5 commits into from
Apr 22, 2023
Merged

cmake: Require C++20 #287

merged 5 commits into from
Apr 22, 2023

Conversation

chfast
Copy link
Owner

@chfast chfast commented Mar 11, 2023

No description provided.

@chfast chfast force-pushed the cxx20 branch 5 times, most recently from 9c6c5ba to 8f0a528 Compare March 11, 2023 18:45
#elif defined(_MSC_VER)
__assume(false);
#endif
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

What happens in the else case? Do we use this mostly for optimisations or also expect it as a safeguard?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Mostly for optimization but sometimes helps with compiler warnings. Undefined Behavior Sanitizer has it instrumented.

@axic
Copy link
Collaborator

axic commented Apr 20, 2023

@chfast what is the blocker on this?

@chfast chfast merged commit bb2cd4d into master Apr 22, 2023
@chfast chfast deleted the cxx20 branch April 22, 2023 14:36
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