ccls/third_party/string_view.h

8 lines
249 B
C
Raw Normal View History

#include <cstddef> // to check __GLIBCXX__
#if __cplusplus >= 201703L || (defined(__has_include) && __has_include(<string_view>) && !defined(__GLIBCXX__))
#include <string_view>
#else
2018-01-31 04:06:32 +00:00
#define STX_NAMESPACE_NAME std
#include "string_view.hpp"
#endif