[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 16:21:00 GMT 2010



------- Comment #14 from paolo dot carlini at oracle dot com  2010-01-21 16:21 -------
Great. Indeed, that way works. Actually, I was surprised to see result_of used
with launch named in the template argument?!?

Anyway, we also have the residual nit that I had to change to public the
explicit constructor future(const __state_type&). I suppose isn't a big
issue...


-- 


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



More information about the Gcc-bugs mailing list