mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +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
|
||||
#elif defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9)) || (__GNUC__ > 4)) && (__cplusplus >= 201402)
|
||||
#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
|
||||
|
||||
#if defined(GHC_HAS_STD_STRING_VIEW)
|
||||
|
Loading…
x
Reference in New Issue
Block a user