| 312 | template <class RET> |
| 313 | template <class OTHER_RET, class FUNC, class ... ARGS> |
| 314 | auto |
| 315 | ICoroContext<RET>::postFirst(FUNC&& func, ARGS&&... args)->CoroContextPtr<decltype(coroResult(func))> |
| 316 | { |
| 317 | using Ret = decltype(coroResult(func)); |
| 318 | return static_cast<Impl*>(this)->template postFirst<Ret>( |
| 319 | std::forward<FUNC>(func), |
| 320 | std::forward<ARGS>(args)...); |
| 321 | } |
| 322 | |
| 323 | template <class RET> |
| 324 | template <class OTHER_RET, class FUNC, class ... ARGS> |