-
Notifications
You must be signed in to change notification settings - Fork 1.6k
<yvals_core.h>: Fix <bit> feature-test macros #695
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1089,12 +1089,10 @@ | |
| #define __cpp_lib_bit_cast 201806L | ||
| #endif // __EDG__ | ||
|
|
||
| #if defined(__clang__) || defined(__EDG__) | ||
| #define __cpp_lib_bitops 201907L | ||
| #else // ^^^ Clang and EDG / MSVC vvv | ||
| #ifdef __clang__ // TRANSITION, VSO-1020212 | ||
| // a future MSVC update will embed CPU feature detection into <bit> intrinsics | ||
| // TRANSITION, VSO-1020212 | ||
| #endif // defined(__clang__) || defined(__EDG__) | ||
| #define __cpp_lib_bitops 201907L | ||
| #endif // __clang__ | ||
|
|
||
| #define __cpp_lib_bounded_array_traits 201902L | ||
|
|
||
|
|
@@ -1112,20 +1110,24 @@ | |
| #define __cpp_lib_endian 201907L | ||
| #define __cpp_lib_erase_if 202002L | ||
| #define __cpp_lib_generic_unordered_lookup 201811L | ||
| #define __cpp_lib_int_pow2 202002L | ||
| #define __cpp_lib_is_constant_evaluated 201811L | ||
| #define __cpp_lib_is_nothrow_convertible 201806L | ||
| #define __cpp_lib_list_remove_return_type 201806L | ||
| #define __cpp_lib_math_constants 201907L | ||
| #define __cpp_lib_remove_cvref 201711L | ||
| #define __cpp_lib_shift 201806L | ||
| #define __cpp_lib_span 202002L | ||
| #define __cpp_lib_ssize 201902L | ||
| #define __cpp_lib_starts_ends_with 201711L | ||
| #define __cpp_lib_to_address 201711L | ||
| #define __cpp_lib_to_array 201907L | ||
| #define __cpp_lib_type_identity 201806L | ||
| #define __cpp_lib_unwrap_ref 201811L | ||
|
|
||
| #ifdef __cpp_lib_bitops // TRANSITION, VSO-1020212 | ||
| #define __cpp_lib_int_pow2 202002L | ||
| #endif | ||
|
Comment on lines
+1114
to
+1116
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I observe that
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think I wrote the guard before __cpp_lib_int_pow2 was a thing. |
||
|
|
||
| #define __cpp_lib_is_constant_evaluated 201811L | ||
CaseyCarter marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| #define __cpp_lib_is_nothrow_convertible 201806L | ||
| #define __cpp_lib_list_remove_return_type 201806L | ||
| #define __cpp_lib_math_constants 201907L | ||
| #define __cpp_lib_remove_cvref 201711L | ||
| #define __cpp_lib_shift 201806L | ||
| #define __cpp_lib_span 202002L | ||
| #define __cpp_lib_ssize 201902L | ||
| #define __cpp_lib_starts_ends_with 201711L | ||
| #define __cpp_lib_to_address 201711L | ||
| #define __cpp_lib_to_array 201907L | ||
| #define __cpp_lib_type_identity 201806L | ||
| #define __cpp_lib_unwrap_ref 201811L | ||
| #endif // _HAS_CXX20 | ||
|
|
||
| #if _HAS_CXX20 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.