<div class="gmail_quote">On Sun, Jul 15, 2012 at 2:11 PM, Steve Ramsey <span dir="ltr"><<a href="mailto:clang@lucena.com" target="_blank">clang@lucena.com</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">On Jul 15, 2012, at 1:55 PM, Rich E wrote:<br>
> On Sun, Jul 15, 2012 at 1:38 PM, Steve Ramsey <<a href="mailto:clang@lucena.com">clang@lucena.com</a>> wrote:<br>
</div><div class="im">>> This is correct behavior as per FDIS 12.8.18. Specifically, since there's a user-declared copy constructor, there needs to be a user-declared copy-assignment operator, if you want one; otherwise, the implicitly declared one is defined as deleted.<br>

>><br>
> Excuse my ignorance, but how is there a user-declared copy constructor?<br>
<br>
</div>Excuse my lack of proofreading; I meant user-declared destructor.</blockquote><div><br></div><div>That's still not right: the rule you're referencing only applies to move operations. The implicit declaration of non-deleted copy operations still happens in this case, but it's deprecated (the committee didn't want to break a big pile of existing code, IIUC).</div>
</div>