Fenix @develop
 
Loading...
Searching...
No Matches
forward.hpp
1
2// Forward declarations to avoid apps needing C++20 unless they're directly
3// using the coroutines
4
5#ifndef FENIX_TASKS_FORWARD_HPP
6#define FENIX_TASKS_FORWARD_HPP
7
8namespace fenix::util {
9class Status;
10}
11
12namespace fenix::tasks {
13template <typename T, bool eager = false>
14class Task;
15
16template <typename T>
17using LazyTask = Task<T, false>;
18
19using util::Status;
20}
21
22namespace fenix::tasks::mpi {
23using MPITask = Task<Status>;
24}
25
26#endif // FENIX_TASKS_FORWARD_HPP