ADTF
Loading...
Searching...
No Matches
string_view.h
Go to the documentation of this file.
1
14
15#ifndef A_UTIL_BASE_FEATURE_CHECK_LIBRARY_STRING_VIEW_H
16#define A_UTIL_BASE_FEATURE_CHECK_LIBRARY_STRING_VIEW_H
17
19
20#if __has_include(<string_view>)
21
22#if (defined(_MSC_VER) && (_MSVC_LANG > 201402L)) || (__cplusplus > 201402L)
23#define HAS_STRING_VIEW 1
24#else
25#define HAS_STRING_VIEW 0
26#endif
27
28#else // !__has_include(<string_view>)
29
30#define HAS_STRING_VIEW 0
31
32#endif // __has_include(<string_view>)
33
35
36#endif // A_UTIL_BASE_FEATURE_CHECK_LIBRARY_STRING_VIEW_H