Dev Essential
Loading...
Searching...
No Matches
is_enum_v.h
Go to the documentation of this file.
1
14
15#ifndef A_UTIL_BASE_FEATURE_CHECK_LIBRARY_IS_ENUM_V_H
16#define A_UTIL_BASE_FEATURE_CHECK_LIBRARY_IS_ENUM_V_H
17
19
20#if defined(__clang__) && (__cplusplus > 201402L)
21
22#if ((__clang_major__ == 3) && (__clang_minor__ >= 9)) || (__clang_major__ > 3)
23#define HAS_IS_ENUM_V 1
24#endif // ((__clang_major__ == 3) && (__clang_minor__ >= 9)) || (__clang_major__ > 3)
25
26#elif defined(__GNUC__) && (__cplusplus >= 201703L)
27
28#define HAS_IS_ENUM_V 1
29
30#elif defined(_MSC_VER) && (_MSVC_LANG >= 201402L)
31
32#define HAS_IS_ENUM_V 1
33
34#else
35
36#define HAS_IS_ENUM_V 0
37
38#endif // defined(__GNUC__) && (__cplusplus >= 201703L)
39
41
42#endif // A_UTIL_BASE_FEATURE_CHECK_LIBRARY_IS_ENUM_V_H