[Bug libstdc++/42819] [C++0x] std::async fails to compile with simple tests, including N3000 example

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 21 15:48:00 GMT 2010



------- Comment #9 from paolo dot carlini at oracle dot com  2010-01-21 15:48 -------
Jack, I would ask you to have a bit of patience, because this code is in flux.
Just a few days. In the meantime, if you want to experiment, I would suggest
two things: 1- Always use up to date sources, r156097 is already old; 2-
Remember to update *all* the occurrences of that _Fn::result_type, also inside
the body of async(launch, _Fn&&, _Args&&...) for example; 3- Before spending
too much time in the interaction between lambdas and <future>, double check
lambdas per se, because we have some outstanding issues, in particular for
lambdas with no captures as function pointers.


-- 


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



More information about the Gcc-bugs mailing list