This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/48476] [C++0x] conversion between std::tuple which have reference member is rejected
- From: "gintensubaru at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 6 Apr 2011 09:05:23 +0000
- Subject: [Bug libstdc++/48476] [C++0x] conversion between std::tuple which have reference member is rejected
- Auto-submitted: auto-generated
- References: <bug-48476-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48476
Takaya Saito <gintensubaru at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #23896|application/octet-stream |text/plain
mime type| |
--- Comment #4 from Takaya Saito <gintensubaru at gmail dot com> 2011-04-06 09:05:19 UTC ---
Comment on attachment 23896
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23896
simple test for operator=( Tuple&& )
in gcc-4.6.0, this code fails assertion 'q == p' and 'r == q',
because references to p and q are not forwarded but moved
( see N3242 20.4.2.2 ).