@@ -554,11 +554,11 @@ template <> struct hash<u16string>;
554
554
template <> struct hash<u32string>;
555
555
template <> struct hash<wstring>;
556
556
557
- basic_string<char> operator "" s( const char *str, size_t len ); // C++14, constexpr since C++20
558
- basic_string<wchar_t> operator "" s( const wchar_t *str, size_t len ); // C++14, constexpr since C++20
559
- constexpr basic_string<char8_t> operator "" s( const char8_t *str, size_t len ); // C++20
560
- basic_string<char16_t> operator "" s( const char16_t *str, size_t len ); // C++14, constexpr since C++20
561
- basic_string<char32_t> operator "" s( const char32_t *str, size_t len ); // C++14, constexpr since C++20
557
+ basic_string<char> operator"" s( const char *str, size_t len ); // C++14, constexpr since C++20
558
+ basic_string<wchar_t> operator"" s( const wchar_t *str, size_t len ); // C++14, constexpr since C++20
559
+ constexpr basic_string<char8_t> operator"" s( const char8_t *str, size_t len ); // C++20
560
+ basic_string<char16_t> operator"" s( const char16_t *str, size_t len ); // C++14, constexpr since C++20
561
+ basic_string<char32_t> operator"" s( const char32_t *str, size_t len ); // C++14, constexpr since C++20
562
562
563
563
} // std
564
564
@@ -4371,35 +4371,35 @@ inline namespace literals
4371
4371
inline namespace string_literals
4372
4372
{
4373
4373
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
4374
- basic_string<char > operator " " s( const char *__str, size_t __len )
4374
+ basic_string<char > operator " " s( const char *__str, size_t __len )
4375
4375
{
4376
4376
return basic_string<char > (__str, __len);
4377
4377
}
4378
4378
4379
4379
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
4380
4380
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
4381
- basic_string<wchar_t > operator " " s( const wchar_t *__str, size_t __len )
4381
+ basic_string<wchar_t > operator " " s( const wchar_t *__str, size_t __len )
4382
4382
{
4383
4383
return basic_string<wchar_t > (__str, __len);
4384
4384
}
4385
4385
#endif
4386
4386
4387
4387
#ifndef _LIBCPP_HAS_NO_CHAR8_T
4388
4388
inline _LIBCPP_HIDE_FROM_ABI constexpr
4389
- basic_string<char8_t > operator " " s(const char8_t *__str, size_t __len)
4389
+ basic_string<char8_t > operator " " s(const char8_t *__str, size_t __len)
4390
4390
{
4391
4391
return basic_string<char8_t > (__str, __len);
4392
4392
}
4393
4393
#endif
4394
4394
4395
4395
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
4396
- basic_string<char16_t > operator " " s( const char16_t *__str, size_t __len )
4396
+ basic_string<char16_t > operator " " s( const char16_t *__str, size_t __len )
4397
4397
{
4398
4398
return basic_string<char16_t > (__str, __len);
4399
4399
}
4400
4400
4401
4401
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20
4402
- basic_string<char32_t > operator " " s( const char32_t *__str, size_t __len )
4402
+ basic_string<char32_t > operator " " s( const char32_t *__str, size_t __len )
4403
4403
{
4404
4404
return basic_string<char32_t > (__str, __len);
4405
4405
}
0 commit comments