This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/42819] [C++0x] std::async fails to compile with simple tests, including N3000 example
- 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: 21 Jan 2010 15:48:12 -0000
- Subject: [Bug libstdc++/42819] [C++0x] std::async fails to compile with simple tests, including N3000 example
- References: <bug-42819-6477@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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