A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3839
Date: 2014-01-01
Proposing the Rule of Five, v2
by Walter E. Brown
Excerpt:
C++11 provided that a class’s copy functions may be implicitly declared and, if needed, implicitly defined as either deleted or defaulted, depending on the circumstances. At the same time, C++11 deprecated some of those circumstances. This paper proposes to obsolete this deprecated behavior, leaving us with the very teachable “rule of five” that no copy function, move function, or destructor will be compiler-generated if any of these functions is user-provided.
Add a Comment
Comments are closed.