<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:anders.granlund.0@gmail.com" title="Anders Granlund <anders.granlund.0@gmail.com>"> <span class="fn">Anders Granlund</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=6q-TOWVNx1thX6Q7ffdYtCtl_Wi49XarjGyukvnPB2o&s=YS2IyQ_vhZEZvyeHhGZlNQYlLZwq-8oUJjLZnhn480Q&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-23c12&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=6q-TOWVNx1thX6Q7ffdYtCtl_Wi49XarjGyukvnPB2o&s=6B6eKjSCI_miF7OTKGiQogrb_pvrGFPpJmVCU4d4Nec&e=">Comment # 12</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=6q-TOWVNx1thX6Q7ffdYtCtl_Wi49XarjGyukvnPB2o&s=YS2IyQ_vhZEZvyeHhGZlNQYlLZwq-8oUJjLZnhn480Q&e=">bug 24264</a>
from <span class="vcard"><a class="email" href="mailto:anders.granlund.0@gmail.com" title="Anders Granlund <anders.granlund.0@gmail.com>"> <span class="fn">Anders Granlund</span></a>
</span></b>
<pre>Ok, you are right about this bug being invalid.
I got the answer on stack overflow now:
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__stackoverflow.com_questions_31702956_interpretation-2Dof-2Dbasic-2Dscope-2Dhidingp2-2Dwhen-2Dunqualified-2Dname-2Dlookup-2Dinvolves-2Du&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=6q-TOWVNx1thX6Q7ffdYtCtl_Wi49XarjGyukvnPB2o&s=j2Go4du2ozXIFCbv6qJ2Xvoooo96rmjKETluSR2wjJM&e=">http://stackoverflow.com/questions/31702956/interpretation-of-basic-scope-hidingp2-when-unqualified-name-lookup-involves-u</a>
Turned out that there are other rules preventing making my interpretation. This
is the reason I don't like "as if" rules. It is not always clear how far you
can go in applying them. You apply them, and then after a while you see some
other rules that prevent that application.
Also I think the section [basic.lookup.unqual] could include a reformulation of
[basic.scope.hiding]p1 <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__eel.is_c-2B-2Bdraft_basic.scope.hiding-231&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=6q-TOWVNx1thX6Q7ffdYtCtl_Wi49XarjGyukvnPB2o&s=GDgwiFEMP7DFRvU43nzcwe1SOspN7wa7CdyuFaaCdPU&e=">http://eel.is/c++draft/basic.scope.hiding#1</a> as one of
the rules.
<a class="bz_bug_link
bz_status_NEW " title="NEW --- - Inconsistency with respect to using declaration ordering" href="show_bug.cgi?id=24272">Bug 24272</a> seems still be a bug at least.</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>