Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-09-21 22:17:23 +0400
committerHoward Hinnant <hhinnant@apple.com>2013-09-21 22:17:23 +0400
commitf13cf89df2d4f91ab0bd0859138ca086bb5dcefe (patch)
tree32d9f86598171b4a3be40fe3a4e024caa17f82e3 /libcxx/include/future
parentb76e6a95a9a16df6528e4136f92c9ea61cf1c830 (diff)
Apply LWG 2021. This is only a documentation change. Also bringing c++1y status page up to date.
llvm-svn: 191141
Diffstat (limited to 'libcxx/include/future')
-rw-r--r--libcxx/include/future4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/future b/libcxx/include/future
index 9c4c70dfb2f1..334eaeb5e1f9 100644
--- a/libcxx/include/future
+++ b/libcxx/include/future
@@ -309,11 +309,11 @@ public:
};
template <class F, class... Args>
- future<typename result_of<F(Args...)>::type>
+ future<typename result_of<typename decay<F>::type(typename decay<Args>::type...)>::type>
async(F&& f, Args&&... args);
template <class F, class... Args>
- future<typename result_of<F(Args...)>::type>
+ future<typename result_of<typename decay<F>::type(typename decay<Args>::type...)>::type>
async(launch policy, F&& f, Args&&... args);
template <class> class packaged_task; // undefined