On 10/03/15 12:10 -0600, Sandra Loosemore wrote:
Errr. If GCC 5 implements (present tense) this new feature, why
is the description written mostly in the future tense? :-(
When compiling such a function, GCC will do as described.
I'm happy to change it though, how's the attached revision
On 03/10/2015 11:43 AM, Jonathan Wakely wrote:
+Return by converting move constructor
+
+GCC 5 implements
+http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1579";>DR
1579
+which means that in a function like:
+
+
+ X
+ foo()
+ {
+Y y;
+return y;
+ }
+
+
+GCC will first a
This change shouldn't cause many porting headaches, but it did cause
one package to fail to build (due to a bug in the package), so it's
worth documenting.
Committed to CVS.
Index: porting_to.html
===
RCS file: /cvs/gcc/wwwdocs/htdoc