[libcxx-commits] [libcxx] [libc++] Verifies std::forward_like's mandates clause. (PR #127318)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 27 15:13:39 PST 2025
frederick-vs-ja wrote:
> > It's not very clear to me what should happen when user-provided overloads are involved...
>
> AFAIK they are not allowed to do that.
Oh, sorry for causing misunderstanding. I meant something like the following, not user-provided `std::forward_like`:
```C++
using std::forward_like;
using nonstd::forward_like;
forward_like<void>(x); // Should std::forward_like catch this and cause error?
```
https://github.com/llvm/llvm-project/pull/127318
More information about the libcxx-commits
mailing list