boostorg/beast

clang 20 (trunk): Deprecated literal operator in string.h

jbulow opened this issue · 0 comments

boost/beast/core/detail/string.hpp:26:12: error: identifier '_sv' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
   26 | operator"" _sv(char const* p, std::size_t n)
      | ~~~~~~~~~~~^~~
      | operator""_sv
1 error generated.