[libcxx-commits] [libcxx] [libc++][ranges] LWG3715: `view_interface::empty` is overconstrained (PR #85004)
Xiaoyang Liu via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Mar 17 20:03:03 PDT 2024
================
@@ -51,16 +51,24 @@ class view_interface {
public:
template <class _D2 = _Derived>
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr bool empty()
----------------
xiaoyang-sde wrote:
> This _could_ be related to a Clang bug when we implemented this early on. I vaguely remember that there were bugs related to constraints on member functions in Clang a while back, and I think we had to work around it in a few places. But it could also be my memory playing tricks on me, so it's worth double-checking that information.
Ah I see. Thanks for the explanation.
https://github.com/llvm/llvm-project/pull/85004
More information about the libcxx-commits
mailing list