================ @@ -30,98 +30,27 @@ class basic_string_view { constexpr basic_string_view &operator=(const basic_string_view &) {} }; -template <typename CharT> -constexpr bool operator<(basic_string_view<CharT>, basic_string_view<CharT>) { - return {}; -} -template <typename CharT> -constexpr bool operator<(type_identity_t<basic_string_view<CharT>>, - basic_string_view<CharT>) { - return {}; -} -template <typename CharT> -constexpr bool operator<(basic_string_view<CharT>, - type_identity_t<basic_string_view<CharT>>) { - return {}; -} ---------------- zygoloid wrote:
Does this no longer work? I worry that this may have been taken pretty directly from a standard library implementation, so breaking it could be a problem! https://github.com/llvm/llvm-project/pull/100692 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits