forked from boostorg/static_string
Guard __has_include
This commit is contained in:
@ -26,9 +26,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Include <version> if we can
|
// Include <version> if we can
|
||||||
|
#ifdef __has_include
|
||||||
#if __has_include(<version>)
|
#if __has_include(<version>)
|
||||||
#include <version>
|
#include <version>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// Can we use is_constant_evaluated?
|
// Can we use is_constant_evaluated?
|
||||||
#if __cpp_lib_is_constant_evaluated >= 201811L
|
#if __cpp_lib_is_constant_evaluated >= 201811L
|
||||||
|
Reference in New Issue
Block a user