C++ coroutines: Is it valid to call `handle.destroy` from the final suspend point?

后端 未结 0 523
逝去的感伤
逝去的感伤 2021-02-01 18:04

Is it valid to call handle.destroy() from within the final suspension of a C++ coroutine?

From my understanding, this should be fine because the coroutine is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题