C++ PATCH for c++/56701 (treating 'this' as an rvalue)
Thu Mar 28 18:14:00 GMT 2013
When 'this' appears in an expression, it should be an rvalue rather than
a const lvalue; in C++11, the distinction matters.
The cp_build_indirect_ref change is to avoid building extra copies of
*this due to this change.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1776 bytes
Desc: not available
More information about the Gcc-patches