<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br>5.1.1 [expr.prim.general] in paragraph 8 states that "The form ~ decltype-specifier also denotes the destructor, but it shall not be used as
the unqualified-id in a qualified-id."<br><br>I implemented this a while ago, but it looks like (r146155) it was for expressions (x.~decltype(*x)(), for example) not necessarily for dtor declarations.</div></div><br></div></div>
</blockquote></div>I do not clearly understand what this sentence implies.<br></div><div class="gmail_extra">Could you elaborate?<br><br></div><div class="gmail_extra">Also, if the meaning is as you interpreted it, what is the rationale for allowing x.~decltype(*x)() ?<br><br></div></div>