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 #15 from jwakely dot gcc at gmail dot com  2010-01-21 16:28 -------
(In reply to comment #14)
> 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...

Did you change _Fn::result_type on lines 122 and 561?
async _should_ be a friend, and not need the public constructor


-- 


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]