<div dir="ltr">On 10 May 2013 09:20, Rob T <span dir="ltr"><<a href="mailto:alanb@ucora.com" target="_blank">alanb@ucora.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thursday, 9 May 2013 at 22:42:14 UTC, Manu wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
And it's<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
even questionable that scope as originally intended can be properly<br>
implemented anyway.<br>
<br>
</blockquote>
<br></div><div class="im">
...so, the problem is no different than 'auto ref' as you mention above.<br>
It's not implemented as drafted, and we're debating what's actually<br>
correct. Clearly the draft was incomplete in both cases.<br>
I only support the proposal (from others) that scope ref makes so much more<br>
sense, and I think we've also proven it can be made to work syntactically<br>
without holes, which I don't believe is so for auto ref.<br>
<br>
</div></blockquote>
<br>
However despite the elusiveness of a solution, it looks like we'll be able to implement auto ref as was originally intended. We may also be able to implement scope as was originally intended, but not if we use it for another purpose.<br>
</blockquote><div><br></div><div style>Except that auto ref as originally intended seems to have been a flawed design, as evidenced by the massive waves this issue keeps creating.</div><div style><br></div><div style>the scope ref proposal does not interfere with scope as originally intended, it is a natural extension of the concept... unless I don't understand scope as originally intended properly (which is possible, it's barely documented).</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In any event you may want to use scope ref to prevent escapes and also refuse to use rvalues, so it is not a good solution for that reason alone.</blockquote><div><br></div><div style>Why? Why would a function want to receive a temporary but not an implicit temporary?</div>
</div></div></div>