Template Class ValueTask
Defined in File exathread.hpp
Inheritance Relationships
Base Type
public exathread::Task(Class Task)
Class Documentation
-
template<typename T>
class ValueTask : public exathread::Task Coroutine return type for value-returning functions.
Note
Set this as your submitted function’s return type if it returns something other than
voidand wants to use yield operations- Template Parameters:
T – The return type of your function
Public Functions
-
inline ValueTask(Task &&t)