<div dir="ltr">I think we should nuke the section. Using '= delete' on copy members is a widely known C++ design pattern. Yaron filedĀ <a href="http://llvm.org/bugs/show_bug.cgi?id=22724">http://llvm.org/bugs/show_bug.cgi?id=22724</a>, which makes me think we have consensus. Done inĀ <span style="color:rgb(0,0,0)">r230776.</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 22, 2015 at 1:09 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Perhaps it'd be easier to review/discuss if you just paste the complete proposed wording into this/an email & we'll see how it looks?<br><br>deleted functions (especially non-special-member-deleted functions) should be quite rare & hardly likely for someone to stumble across them & decide to use them for the wrong reasons. For deleting special members, I wouldn't mind a "rule of zero" mention and maybe "just write the members you need" ... and /maybe/ a "here's the idiomatic way to make your type non-copyable and non-movable" (& we should pick what that idiom is - delete all 4 special members? delete 1 that causes the other 3 to be deleted? (deleting either the move ctor or move assignment operator) deleting 1 and leaving a comment?)</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 5:27 PM, Dylan McKay <span dir="ltr"><<a href="mailto:dylanmckay34@gmail.com" target="_blank">dylanmckay34@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">There isn't anything LLVM-specific, but I thought it might be a good idea to keep it.</div></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>