libcoro
1.0
Coroutine support library for C++20
|
◆ forward_to() [2/2]
template<typename T >
template<typename X >
Forward value, possibly convert it, to different promise. The source future must be resolved. The function forwards whole state without throwing any exception. So the target promise recives possible exception or cancel status
|