YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
future.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
yaclib/async/future.hpp
>
4
#include <
yaclib/coro/detail/promise_type.hpp
>
5
#include <
yaclib/lazy/task.hpp
>
6
7
/**
8
* TODO(mkornaukhov03) Add doxygen docs
9
*/
10
template
<
typename
V,
typename
E,
typename
... Args>
11
struct
yaclib_std::coroutine_traits<
yaclib
::Future<V, E>, Args...> final {
12
using
promise_type
=
yaclib::detail::PromiseType<V, E, false>
;
13
};
future.hpp
yaclib::detail::PromiseType
Definition
promise_type.hpp:44
task.hpp
yaclib
Definition
base_core.hpp:18
promise_type.hpp
include
yaclib
coro
future.hpp
Generated by
1.9.8