<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head><body><div><div style="font-family:Calibri,sans-serif;font-size:11pt">Actually, no (if I understand your question correctly) - a deleted move constructor doesn't cause copy construction to be used in the same context - it causes move construction attempts to produce compilation errors. Think of deletion as a nicer form of what people use to disable copy construction in c++98 by declaring but not defining the copy constructor <br>
</div></div><hr><span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">From: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">Sean Silva</span><br><span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">Sent: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">4/1/2012 7:36 PM</span><br>
<span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">To: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">Richard Smith</span><br><span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">Cc: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt"><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a> Developers</span><br>
<span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">Subject: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">Re: [cfe-dev] deprecating copy construction and assignment</span><br><br>
</body></html>So even though the latter one is move-constructible, it does it through the copy ctor, so it doesn't get the performance benefit of the move then, right?<br><br><div class="gmail_quote">On Thu, Mar 29, 2012 at 7:00 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_quote"><div>The result is that explicitly defaulting the move operations gives you defaulted move operations,</div>
</div></blockquote></div><br></div><div>... gives you *deleted* move operations ... :)</div>
</blockquote></div><br>