This is an implementation of Marshall Clow's P0403 paper proposing an addition of user-defined literals for string_view:
inline namespace literals { inline namespace string_literals { constexpr string_view operator "" sv(const char* str, size_t len) noexcept; constexpr u16string_view operator "" sv(const char16_t* str, size_t len) noexcept; constexpr u32string_view operator "" sv(const char32_t* str, size_t len) noexcept; constexpr wstring_view operator "" sv(const wchar_t* str, size_t len) noexcept; }}
If this is new to C++17 then the new declarations should be guarded by #if _LIBCPP_VERSION > 14.