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] [DR 1315][C++0x] std::async fails to compile with simple tests, including N3000 example



------- Comment #30 from paolo at gcc dot gnu dot org  2010-02-12 22:31 -------
Subject: Bug 42819

Author: paolo
Date: Fri Feb 12 22:31:15 2010
New Revision: 156742

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156742
Log:
2010-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
            Paolo Carlini  <paolo.carlini@oracle.com>

        PR libstdc++/42819, DR 1315
        * include/std/future (async): Use std::result_of for the template
        argument of the std::future return type; adjust everywhere.
        * testsuite/30_threads/async/42819.cc: New.
        * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
        dg-error line number.
        * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
        * testsuite/30_threads/future/cons/assign_neg.cc: Likewise.
        * testsuite/30_threads/future/cons/copy_neg.cc: Likewise.
        * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
        * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.

Added:
    trunk/libstdc++-v3/testsuite/30_threads/async/42819.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/future
    trunk/libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc
    trunk/libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc
    trunk/libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc
    trunk/libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc
    trunk/libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc
    trunk/libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc


-- 


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]