mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-11 02:36:33 +08:00
Merge pull request #115 from phprus/experimental-string_view
Improved string_view support (v2)
This commit is contained in:
commit
7fb50217da
@ -240,6 +240,9 @@
|
|||||||
#define GHC_HAS_STD_EXPERIMENTAL_STRING_VIEW
|
#define GHC_HAS_STD_EXPERIMENTAL_STRING_VIEW
|
||||||
#elif defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9)) || (__GNUC__ > 4)) && (__cplusplus >= 201402)
|
#elif defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9)) || (__GNUC__ > 4)) && (__cplusplus >= 201402)
|
||||||
#define GHC_HAS_STD_EXPERIMENTAL_STRING_VIEW
|
#define GHC_HAS_STD_EXPERIMENTAL_STRING_VIEW
|
||||||
|
#elif defined(__GLIBCXX__) && defined(_GLIBCXX_USE_DUAL_ABI) && (__cplusplus >= 201402)
|
||||||
|
// macro _GLIBCXX_USE_DUAL_ABI is always defined in libstdc++ from gcc-5 and newer
|
||||||
|
#define GHC_HAS_STD_EXPERIMENTAL_STRING_VIEW
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(GHC_HAS_STD_STRING_VIEW)
|
#if defined(GHC_HAS_STD_STRING_VIEW)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user