[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 18:10:00 GMT 2010



------- Comment #18 from paolo dot carlini at oracle dot com  2010-01-21 18:10 -------
Jon, I have to go now, I was testing the obvious patch but apparently we have
more of the same issue with std::bind, besides that in async(_Fn&&,
_Args&&...): the existing 30_threads/async tests are failing at compile time:
if you can give me an hint I can asjust the patch I have already and commit it
in, say, 5 hours from now. I think the problem now comes from the user
(testcase) code itself: there is an "ambiguity" between the two async: shall we
maybe use an enable_if on the first argument of async and check if the type is
launch?


-- 


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



More information about the Gcc-bugs mailing list