This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/42352] -std=c++0x reference binding problem
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2009 09:17:01 -0000
- Subject: [Bug libstdc++/42352] -std=c++0x reference binding problem
- References: <bug-42352-3137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from paolo dot carlini at oracle dot com 2009-12-12 09:17 -------
Just to clarify a bit more: if, on the other hand, you are seeing problems
*outside* the library, because you used to rely in your code on rvalue
references binding to lvalues, there is absolutely nothing we an do about it,
your code must be simply adjusted to the current behavior of rvalue references.
You can find it explained here:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2844.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42352