mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-31 10:57:16 +02:00
fix: __cpp_explicit_this_parameter
clang-18 hack applied only for C++23 and up
This commit is contained in:
@ -81,7 +81,7 @@
|
||||
#endif
|
||||
|
||||
// TODO revise the below when clang-18 is released
|
||||
#if MP_UNITS_COMP_CLANG >= 18 && !defined __cpp_explicit_this_parameter
|
||||
#if MP_UNITS_COMP_CLANG >= 18 && __cplusplus >= 202300L && !defined __cpp_explicit_this_parameter
|
||||
|
||||
#define __cpp_explicit_this_parameter 202110L
|
||||
|
||||
|
Reference in New Issue
Block a user