ccls/third_party/string_view.h
Fangrui Song 8bb5d47377 __has_include to #include <string_view>
@scturtle's suggestion
2018-02-01 08:35:05 -08:00

7 lines
179 B
C

#if __cplusplus >= 201703L || defined(__has_include) && __has_include(<string_view>)
#include <string_view>
#else
#define STX_NAMESPACE_NAME std
#include "string_view.hpp"
#endif