<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:cjdb.ns@gmail.com" title="Christopher Di Bella <cjdb.ns@gmail.com>"> <span class="fn">Christopher Di Bella</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - SFINAE leaks through requires expression requirement"
href="https://bugs.llvm.org/show_bug.cgi?id=44674">bug 44674</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - SFINAE leaks through requires expression requirement"
href="https://bugs.llvm.org/show_bug.cgi?id=44674#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - SFINAE leaks through requires expression requirement"
href="https://bugs.llvm.org/show_bug.cgi?id=44674">bug 44674</a>
from <span class="vcard"><a class="email" href="mailto:cjdb.ns@gmail.com" title="Christopher Di Bella <cjdb.ns@gmail.com>"> <span class="fn">Christopher Di Bella</span></a>
</span></b>
<pre>I'm not convinced that this issue and your example are equivalent (although
it's very possible that I have misdiagnosed this as a SFINAE issue when it is
not). The call to `std::to_address` is ill-formed: this means that
`passing<iterator>` should evaluate as `false`, rather than result in an
instantiation error.
```
template<typename I>
void foo(I i) requires requires { std::to_address(i); }
{}
template<typename I>
concept passing = requires(I const& i) {
foo(i);
};
static_assert(not passing<iterator>);
```
I believe this is a faithful remodelling of your example, and still results in
an instantiation error.
Am I missing something here? The "minimal" repro works in cf25e7f, so I thought
this might be a regression.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>