<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED INVALID - Name hiding in the same declarative region fails when done via using-directive" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24264&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=-gnNOG6pkHz25NepzHFzHKvuRyyEv1mrFrjLbpBiriU&s=k3UCXkoWdds4im8MHlWULfaBLG8hrNxPmpMhihGcxNA&e=">bug 24264</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;">Status</td>
<td>REOPENED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED INVALID - Name hiding in the same declarative region fails when done via using-directive" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24264-23c4&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=-gnNOG6pkHz25NepzHFzHKvuRyyEv1mrFrjLbpBiriU&s=tqpVB7Li-9YIOWu5vR0bqaT_kMJRDky3Mhpjf5Abzzw&e=">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED INVALID - Name hiding in the same declarative region fails when done via using-directive" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24264&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=-gnNOG6pkHz25NepzHFzHKvuRyyEv1mrFrjLbpBiriU&s=k3UCXkoWdds4im8MHlWULfaBLG8hrNxPmpMhihGcxNA&e=">bug 24264</a>
from <span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span></b>
<pre>The reason that your second example is accepted is not [basic.scope.hiding]p1,
it's [basic.lookup.unqual]p1:
"In all the cases listed in 3.4.1, the scopes are searched for a declaration in
the order listed in each of the respective categories; name lookup ends as soon
as a declaration is found for the name."</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>