This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]