mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-24 16:51:33 +02:00
feat: automated MP_UNITS_API_THROWING_CONSTRAINTS
setting added
This commit is contained in:
@ -152,6 +152,12 @@ MP_UNITS_DIAGNOSTIC_POP
|
||||
|
||||
#endif
|
||||
|
||||
#if !defined MP_UNITS_API_THROWING_CONSTRAINTS && __cpp_constexpr_exceptions >= 202411L
|
||||
|
||||
#define MP_UNITS_API_THROWING_CONSTRAINTS 1
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(__clang__) && defined(__apple_build_version__) && __apple_build_version__ < 16000026
|
||||
#define MP_UNITS_XCODE15_HACKS
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user