[Bug c++/59070] Captured object is being moved from the lambda on returning it.

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 10 18:27:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59070

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-11-10
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Sarfaraz Nawaz from comment #0)
> Here is the code which reproduces this bug:

That code doesn't reproduce anything because it doesn't compile, please provide
*complete* testcases instead of expecting other people to fill in the gaps.



More information about the Gcc-bugs mailing list