Message ID | 20150310180554.GB13455@redhat.com |
---|---|
State | New |
Headers | show |
Index: porting_to.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/porting_to.html,v retrieving revision 1.6 diff -u -r1.6 porting_to.html --- porting_to.html 10 Mar 2015 17:43:37 -0000 1.6 +++ porting_to.html 10 Mar 2015 17:56:46 -0000 @@ -382,8 +382,8 @@ bool b(nullptr); </code></pre> -It is recommended to use <code>true</code>, resp. <code>false</code> keywords -in such cases. +It is recommended to use the <code>false</code> keyword instead of +converting <code>nullptr</code> to <code>bool</code>. <h3>Return by converting move constructor</h3>