This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/48476] [C++0x] conversion between std::tuple which have reference member is rejected


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 ).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]