<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:charles_li@playstation.sony.com" title="Charles Li <charles_li@playstation.sony.com>"> <span class="fn">Charles Li</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Self referential using declaration inside a derived class lack an accompanying Note in C++11"
href="https://llvm.org/bugs/show_bug.cgi?id=27742">bug 27742</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>NEW
</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 - Self referential using declaration inside a derived class lack an accompanying Note in C++11"
href="https://llvm.org/bugs/show_bug.cgi?id=27742#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Self referential using declaration inside a derived class lack an accompanying Note in C++11"
href="https://llvm.org/bugs/show_bug.cgi?id=27742">bug 27742</a>
from <span class="vcard"><a class="email" href="mailto:charles_li@playstation.sony.com" title="Charles Li <charles_li@playstation.sony.com>"> <span class="fn">Charles Li</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=27742#c1">comment #1</a>)
<span class="quote">> This is actually correct; C++98 and C++11 have different rules here.
>
> In C++98, the rule is that a declaration named by a using-declaration has to
> resolve to a member of a base class, so we first look up what C::bar means,
> and then diagnose because it's a member of our own class, C.
>
> In C++11, the rule is that the nested-name-specifier ("C::") must name a
> base class, so in that case we reject it without ever looking up what
> "C::bar" might name.</span >
Thank you.
I will Resolve this bug as Invalid.</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>